|
.NET control - August 25, 2008 at 18:00 PM by Amit Satpute
Define base class control.
Answer
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?
Answer
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.
Answer
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.
|