C# Form2 calling Form1

Asked

Viewed 51 times

1

Good evening I am developing a product registration application, but I need to call form2 first than Form1. You could assist me in doing this?

  • Want Form2 to appear when starting the application, instead of Form1?

1 answer

0


Go to the file Program.cs and there you will find the following line

Application.Run(new Form1());

Switch to the form you want to use. In your case:

Application.Run(new Form2());
  • Wow, thank you so much worked out.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.