Using Windows Forms Controls

Controls are definitely the key ingredient for development of Windows applications. All .NET Framework Windows Forms controls are subclasses of the System.Windows.Forms.Control class, which itself inherits System.ComponentModel.Component class. Even the Form class is really a special type of control (a Container control to be specific, Form inherits ContainerControl). All the controls that are defined by the .NET Framework are included in the System.Windows.Forms namespace. Using controls typically involves instantiating them, setting a set of properties, and adding them to a parent (typically a form or a container control such as Panel/Group Box). For instance, by reexamining the Hello World GUI application, you ...

Get Microsoft® .NET Kick Start now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.