Microsoft .NET controls are very different internally from Microsoft® ActiveX® controls in that .NET controls are created from a hierarchy of other classes. There are several classes from which these .NET controls are inherited, each one refining and adding more functionality as you drill down to an actual control. At the top of the class hierarchy for a control is the Control class. If you create your own controls however, they will most likely inherit from the UserControl class because it contains the properties and events you need, plus it does all of the drawing of constituent controls for you.
|