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 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.