开发者

Changing startup form in C#

开发者 https://www.devze.com 2023-02-19 13:49 出处:网络
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 开发者_如何学JAVAwithin my application. I thought of doing so but i figur

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 开发者_如何学JAVAwithin my application. I thought of doing so but i figured out that every form i am creating uses the same namespace. Please help me.


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

Application.Run(new MyForm());

Change MyForm to your other form.

0

精彩评论

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