Sunday, January 31, 2010

.NET control

Define base class control.

The Control class is the base class for many of the controls that are added to an application. The Control class defines very little behavior but it is far more common to add a control that inherits from Control like Button, etc.     

What is inherited control     

A new control can be created by inheriting from an existing control. This way, the new control contains all the functionality of the base control and can serve its own functionality as well. This is also in regards to the visual appearance of the base control.  

Define UserControl class.     

User Controls are created by the user and are based on the class UserControl (System.Windows.Forms.UserControl). User controls too have properties, methods and events

0 Comments: