Mark C

Mark C

  • 2k
  • 4
  • 2.9k

Help with Program.cs

Apr 12 2011 12:51 AM
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)