You are using (oop) as you design a windows form with the visual studio IDE, Thats because each control on a form is an objects , and the form itself is an objects .These objects are derived from classes that are part of the vb.net class library.
when you start a new project from the windows application template ,you are actually creating a new class that inherits the characteristics of the form class that part of the vb.net class library .later when you run the form ,you are actually creating an instance (objects) of your form class, i.e known as objects
Each control is an objects of a specific class .EXAMPLE A text box control is an objects that is(i.e) an instance of the text box class. and A label control is an objects from a class can be called instantiation
The properties of an objects define the objects characteristics and data,for instance ,the name property give a name to a control , and the text property determines the text i.e displayed within the control .
In contrast , the method of an objects determine the operation that can be performed by the objects .AND an objects events are signal sent by the objects that something has happened that can be responded.
0 comments:
Post a Comment