开发者

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 Pro开发者_高级运维ject it opens form2 instead. How could I accomplish this?


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

Application.Run(new Form1());

Change to:

Application.Run(new Form2());
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜