How to set which of the forms appear first

前端 未结 4 1805
北恋
北恋 2020-12-29 12:35

I\'m a beginner c# programmer, and i\'m getting familiar with the Windows Forms App. I have 2 forms and i\'m trying to understand how to set one of them to be the first one

4条回答
  •  失恋的感觉
    2020-12-29 13:09

    In Program.cs, you will see the following line of code

    Application.Run(new Form1()); This line shows Form1. You can change it to do whatever you want.

提交回复
热议问题