Click here to Skip to main content
15,911,786 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Change the Form running Sequence of Windows Form? There are two form in my project 1st is Form1.cs and second is Update.cs but when i want to run update Every time it is running only Form1 instead of update form.
Posted

1 solution

Look at your program.cs file - it starts the application by loading the appropriate form in the main method:
C#
static void Main()
    {
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new Form1());
    }

Change Form1 here, and you are done.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900