Labels and Buttons

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


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


Updating ADO.NET

Exceptions and Debugging

Configuration and Deployment

Programming. NET Windows Applications
Programming .Net Windows Applications
ISBN: 0596003218
EAN: 2147483647
Year: 2003
Pages: 148 © 2008-2020.
If you may any questions please contact us: