| |

VerySource

 Forgot password?
 Register
Search
View: 1012|Reply: 3

Question about the startup window

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-12-16 16:30:02
| Show all posts |Read mode
I don't know how to modify the startup window, such as: the default window is form1, I added a windows window form2 again, and now I want to start the form2 window when I click to run, how should I set it,
I hope my brother and sister can be more detailed, the younger brother is novice and stupid
Reply

Use magic Report

0

Threads

16

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-12-16 17:30:01
| Show all posts
Modify Application.Run(new Form1()); in the main function in Program.cs to Application.Run(new Form2());
Reply

Use magic Report

1

Threads

11

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-12-16 17:45:01
| Show all posts
Correct. That's what Lou said
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-12-16 22:30:01
| Show all posts
The first floor is correct
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list