Common Windows Forms Controls
Add controls to a Windows form.
Set properties on controls.
Write code to handle control events and add the code to a control.
The Windows Forms library includes an array of commonly used GUI elements that you can assemble on a Windows form to create Windows applications. These GUI elements (or Windows forms controls) are mostly derived from the System.Windows.Forms.Control class. By virtue of this inheritance, these controls share a number of common properties, methods, and events; in addition, these controls may also have their own specific sets of properties, methods, and events that give them distinct behaviors. Figure 2.19 shows a hierarchy of important classes in the Control class.
Figure 2.19. System.Windows.Forms.Control ...
Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET 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.