O'Reilly logo

C# Primer: A Practical Approach by Stanley B. Lippman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.2. Building the GUI

To build a Windows Forms application using Visual Studio.NET, bring up the New Project window (see Figure 6.6). Choose Visual C# Projects in the Project Types window on the left. Choose the Windows Application icon in the Templates window to the right. By default, the project is given the generic name WindowsApplication1 (the trailing digit is incremented by one with each default project name).

Figure 6.6. Creating a Windows Forms C# Project

The project opens in the graphical Windows Forms designer view—a blank square form with dotted grid lines and a title bar. By default, the Form control and title bar are named Form1.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required