5
Answers

Help with Program.cs

Photo of Mark C

Mark C

14y
1.8k
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)