Object oriented programming is a concept that was created because of the need to overcome the
problems that were found with using structured programming techniques. While structured
programming uses an approach which is top down, OOP uses an approach which is bottom u
Inheritance is the idea that one class, called a subclass, can be based on another class, called a base class.
Inheritance provides a mechanism for creating hierarchies of objects. For example, a dog is a mammal and a
collie is a dog. Thus the dog class inherits the properties and methods of the mammal class, and
the collie class inherits from both dog and mammal.
Encapsulation is a process of binding the data members and member functions into a
single unit. In visual basic, the class is the real-time example for encapsulation because it will
combine the various types of data members and member functions into a single unit.
Polymorphism is the concept that different objects have different implementations of the same characteristic.
For example, consider two objects, one representing a Porsche 911 and the other a Toyota Corolla. They are
both cars; that is, they both derive from the Car class, and they both have a drive method, but the
implementations of the methods could be drastically different
VB.NET Controls are the pillars that help in creating a GUI Based Applications
in VB.Net quickly and easily. These are objects that you can drag to the Form
using the Control toolbox in the IDE. Each VB.NET Control has some
properties, events, and methods that can be used to tweak and customize the
form to our liking.
Properties describe the object
Methods are used to make the object do something
Events describe what happens when the user/Object takes any action.
Once you have added a VB.NET control to the form, you can change its
appearance, its text, its default values, position, size, etc. using its properties.
The properties can be changed via the Pre parties pane or by adding the
specific values of properties into the code editor. Following is the syntax to
tweak properties of a control:
A GUI (graphical user interface) is a system of interactive visual
components for computer software. A GUI displays objects that convey
information, and represent actions that can be taken by the user. The
objects change color, size, or visibility when the user interacts with them.
The GUI was first developed at Xerox PARC by Alan Kay, Douglas
Engelbart, and a group of other researchers in 1981.
Later, Apple introduced the Lisa computer with a GUI on January
19, 1983.
A property is a value or characteristic held by a Visual Basic object, such as
Caption or Fore Color. Properties can be set at design time by using the Properties
window or at run time by using statements in the program code. ... Property is the
characteristic you want to change.
Methods are simply member procedures built into the class. In Visual Basic .NET there are two
types of methods Functions and Sub Procedures. Methods help us to handle code in a simple
and organized fashion. Functions return a value, but Sub Procedures does not return any value.
Methods are basically a series of statements that are executed when called. Detail explanation
of Sub Procedures and Functions are given below: