June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to create a class that has basic design-time support and can be added to a form’s component at design-time.
Derive your class from System.ComponentModel.Component.
The .NET class library includes many classes that can be added to a form, Web page, or another type of component at design time. For example, as shown in Figure 4-1, you can add the System.Windows.Forms.Timer object class directly to the component tray of a form, even though it has no visual representation. This allows the programmer to configure properties and connect event handlers at design time.
Figure 4-1. A component object in the component tray.
To create a class that supports design-time creation, ...
Read now
Unlock full access