5
Answers

Help with Program.cs

Mark C

Mark C

13y
1.7k
1
I have 2 forms, one is a "Loading" form and the other is the "main" form.
In Program.cs:
[STAThread]
static void Main()
{
Application.Run(new loadingForm());
//some code here
Application.Run(new mainForm());
}

How come "//some code here" is not ran until loadingForm closes?                
Answers (5)