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.