Developing Your First Windows Forms Application

Development of a Windows Forms application involves a couple of more steps beyond what is typically needed to develop a console application. Every Windows Forms application is composed of one or more forms, which derive from the base class Form found in the System.Windows.Forms namespace. After the derived Form class has been created, the application itself can be started by using the Run() method of the Application class passing the reference of the instantiated form object. Apart from these two basic steps, developing a Form involves setting form-specific properties, controls, menus, and event handlers. For instance, the following Hello World style simple Form contains a single control, ExitButton; ...

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

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