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?