The Anatomy of a Form
Now that you have examined how to build simple Windows Forms applications with (and without)
the aid of Visual Studio, let’s examine the Form type in greater detail. In the world of Windows Forms,
the Form type represents any window in the application, including topmost main windows, child
windows of a multiple document interface (MDI) application, as well as modal and modaless dialog
boxes. As shown in Figure 27-12, the Form type gathers a good deal of functionality from its parent
classes and the numerous interfaces it implements.
Figure 27-12.
The inheritance chain of System.Windows.Forms.Form
Table 27-2 offers a high-level look at each parent class in the Form’s inheritance chain.
Table 27-2.
Base Classes in the Form
Inheritance Chain
Do'stlaringiz bilan baham: