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.

image

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