Running a Project

Your application is now complete. Click the Save All button on the toolbar (it looks like a stack of diskettes), and then run your program by pressing F5. You can also run the program by clicking the button on the toolbar that looks like a right-facing triangle and resembles the Play button on a VCR (this button is called Start, and it can also be found on the Debug menu). Learning the keyboard shortcuts will make your development process move along faster, so I recommend you use them when at all possible.

When you run the program, the Visual Studio .NET interface changes, and the form you've designed appears floating over the design environment (see Figure 1.12).

Figure 1.12. When in Run mode, your program executes the same ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours 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.