Creating a Windows Forms Project

The process of building a Windows Forms application starts the same as all other project types within Visual Studio: You select the Windows Application project template from the New Project dialog box and set up the location for the application’s source. From there, Visual Studio stubs out an initial project, and the Windows Forms designer loads, as shown in Figure 6.34.

Figure 6.34 Initial form in the Windows Forms designer.


As you can see from the figure, a design-time “mock-up” of the actual form is visible within the designer. This is the canvas for your user interface. Using this canvas, you can add controls ...

Get Microsoft® Visual Studio® 2010 Unleashed now with O’Reilly online learning.

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