ibrahim
ibrahim

Reputation: 277

How might I change the Form loading at start-up to another form?

By default when I run my project, it loads form1, but I want to change it such that when it loads the Project it opens form2 instead. How could I accomplish this?

Upvotes: 1

Views: 4013

Answers (1)

djdd87
djdd87

Reputation: 68516

Go to your Program.cs file and change the form class:

Application.Run(new Form1());

Change to:

Application.Run(new Form2());

Upvotes: 9

Related Questions