Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing main form

I made a project in Visual Studio 2010 (winforms). I made a new Form and I want this new Form to be main Form of the program. How can I change it?

like image 392
Ichibann Avatar asked Jun 21 '11 23:06

Ichibann


2 Answers

Open up your Program.cs file in your visual studio project and just change the reference to your new form.enter image description here

like image 93
alexD Avatar answered Sep 20 '22 22:09

alexD


In the project properties of the startup project, set the Startup Form to your new form.

enter image description here

like image 33
Will A Avatar answered Sep 19 '22 22:09

Will A