Controls are Windows Forms widgets: listboxes, buttons, checkboxes, labels, text boxes, and so forth, that provide a visual user interface for a Windows application.
Previous chapters covered many of the features common to all Windows Forms controlsall members of the System.Windows.Forms.Control class and all objects derived from that class. These features provide all controls with a basic level of functionality, including size, location, appearance, and mouse and keyboard support.
This chapter will describe two of the most basic classes of controls provided as part of the .NET Framework: Label and Button. Virtually all applications use both types of controls. Although they look simple and one dimensional, both classes offer surprising depth and versatility.
Windows Forms and the .NET Framework
Getting Started
Visual Studio .NET
Events
Windows Forms
Dialog Boxes
Controls: The Base Class
Mouse Interaction
Text and Fonts
Drawing and GDI+
Labels and Buttons
Text Controls
Other Basic Controls
TreeView and ListView
List Controls
Date and Time Controls
Custom Controls
Menus and Bars
ADO.NET
Updating ADO.NET
Exceptions and Debugging
Configuration and Deployment