Mark C

Mark C

  • NA
  • 4
  • 3.2k

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)