The .NET Framework allows you to create custom controls. These custom controls appear in the user’s Toolbox and can be added to
GroupBoxes in the same way that we add
Labels and other predefined controls. The simplest way to create a custom control is to derive a class from an existing control, such as a
Label. This is useful if you want to add functionality to an existing control, rather than replacing it with one that provides the desired functionality. For example, you can create a new type of
Label that behaves like a normal
Label but has a different appearance. You accomplish this by inheriting from class
Label and overriding method
All controls have an OnPaint ...