Does anybody know how to setup the starting form of a winforms project in Visual Studio 2010? I have ridden to go to Project Properties and change Startup Object, but in dowpdownlist the only options available were "(None)" and "ProjectName.Program.cs". The "program.cs" is my default code file. Please help me. (Im working in C#)
In your Program.cs, there is line like:
Application.Run(new Form1());
where you can substitute the form you'd like to start. If you change Form1 to another Form class, your project will start with that one.
Form1
1.4m articles
1.4m replys
5 comments
57.0k users