8.2. System.Windows.Forms namespace

The System.Windows.Forms namespace, which is in the System.Windows.Forms.dll assembly, provides developers with classes and structures for building Windows-based applications for the Microsoft Windows operating system. There are too many classes defined within this namespace to be listed in just one table. We will start with the basic classes and then move on to the classes that add extra functionality to the Windows applications.

The main class used to create Windows applications is the Form class – it is the main window of the application. Before we discuss this class, however, we need to go up the class library hierarchy and look at some of its parent classes – the Control, ScrollableControl, and ContainerControl ...

Get A Programmer's Guide to .NET 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.