August 2003
Intermediate to advanced
736 pages
14h 48m
English
After all the settings and behavior and layout details you've learned to pack into forms in this chapter, you may decide that you'd like to keep some of your hard work in a Form-derived base class for easy reuse by further derivations, and you can certainly do that. If you follow the convention that forms initialize their own properties and the properties of their child controls in a function called InitializeComponent, the Designer provides direct support for your visual inheritance: the reuse of a form base class via inheritance.
| Parent MenuItem | MergeType | MergeOrder |
|---|---|---|
| File | MergeItems | 0 |
| Add | 0 |
| Add | 2 |
| Window | Add | 2 |
| Child MenuItem | MergeType | MergeOrder ... |
|---|
Read now
Unlock full access