Changing startup form in C#

后端 未结 1 898
攒了一身酷
攒了一身酷 2020-11-30 09:58

I am using visual studio 2010 express but i wonder how can i change startup form when the program runs as i have multiple form within my application. I thought of doing so b

相关标签:
1条回答
  • 2020-11-30 10:32

    Look in Program.cs in the Main function for something like this

    Application.Run(new MyForm());
    

    Change MyForm to your other form.

    0 讨论(0)
提交回复
热议问题