Common Windows Forms Controls

Many controls are available for use in your Windows forms application. Most of these are derived from the System.Windows.Forms.Control class, as detailed in Figure 2.4.

Figure 2.4. The Controls hierarchy showing many common Windows Forms controls.

This section reviews properties, methods, and events of some of the common controls. If you are very familiar with the Visual Studio .NET IDE, many of these might be familiar to you already.

GroupBox and Panel

Like the Form control itself, some controls are meant to contain other controls to arrange or group controls together. The GroupBox and Panel ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.