View Single Post
  #6 (permalink)  
Old December 23rd, 2011, 11:49 AM
Rod Stephens's Avatar
Rod Stephens Rod Stephens is offline
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Ah, sorry. I was looking at a Visual Basic project.

In C# open the Program.cs file. In the code editor, there should be a line that looks like this:

Code:
Application.Run(new Form1());
That creates a Form1 object and displays it. Just change Form1 to the name of the form that you want to start up with and you should be set.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)