Creating a Windows Forms Application So far you have used Visual Studio 2005 to create and run a basic Console application. The Visual Studio 2005 programming environment also contains everything you'll need to create graphical Windows applications. | Creating a Windows Forms Application So far you have used Visual Studio 2005 to create and run a basic Console application. The Visual Studio 2005 programming environment also contains everything you ll need to create graphical Windows applications. You can design the form-based user interface of a Windows application interactively by using the Visual Designer. Visual Studio 2005 then generates the program statements to implement the user interface you ve designed. From this explanation it follows that Visual Studio 2005 allows you to maintain two views of the application the Design View and the Code View. The Code and Text Editor window showing the program statements doubles as the Design View window allowing you to lay out your user interface and you can switch between the two views whenever you want. In the following set of exercises you ll learn how to create a Windows program in Visual Studio 2005. This program will display a simple form containing a text box where you can enter your name and a button that when clicked displays a personalized greeting in a message box. You will use the Visual Designer to create your user interface by placing controls on a form inspect the code generated by Visual Studio 2005 use the Visual Designer to change the control properties use the Visual Designer to resize the form write the code to respond to a button click and run your first Windows program. Create a Windows project in Visual Studio 2005 1. On the File menu point to New and then click Project. The New Project dialog box opens. 2. In the Project Types pane click Visual C . 3. In the Templates pane click the Windows Application icon. 4. Ensure that the Location field refers to your My Documents Visual CSharp Step by Step Chapter 1 folder. 5. In the Name field type WinFormHello. 6. In the Solutions field ensure that Create new Solution is selected. This action creates a new solution for holding the Windows application. The alternative Add to Solution will add the .