O'Reilly logo

Professional Visual Studio® 2010 by Chris Anderson, Michael Minutillo, David Gardner, Nick Randolph

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

Chapter 17. Windows Forms Applications

WHAT'S IN THIS CHAPTER?

  • Creating a new Windows Forms application

  • Designing the layout of forms and controls using the Visual Studio designers and control properties

  • Using container controls and control properties to ensure that your controls automatically resize when the application resizes

Since its earliest days, Visual Studio has excelled at providing a rich visual environment for rapidly developing Windows applications. From simple drag-and-drop procedures to place graphical controls onto the form, to setting properties that control advanced layout and behavior of controls, the designer built into Visual Studio 2010 provides you with immense power without having to manually create the UI from code.

This chapter walks you through the rich designer support and comprehensive set of controls that are available for you to maximize your efficiency when creating Windows Forms applications.

GETTING STARTED

The first thing you need to get started is to create a new Windows Forms project. Select the File

GETTING STARTED

Windows Forms applications can be created with either VB or C#. In both cases, the Windows Forms Application project template is the default selection when you open the New Project dialog box and select the Windows category, as shown in Figure 17-1.

Figure 17-1

Figure 17-1. Figure ...

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