private static void ShowApplication(object sender, RunWorkerCompletedEventArgs e) { // How we have connected to the api, show our form // Hide the form before showing the other one // NOTE: DO NOT CLOSE THE FORM BEFORE OPENING // THE NEW ONE OR THE APPLICAITON WILL // CLOSE! splash.Hide(); // Show our main form mFrm = new Forms.Main(); mFrm.Show(); // Now we can close it splash.Close(); }
private static void ShowApplication(object sender, RunWorkerCompletedEventArgs e) { // How we have connected to the api, show our form // Hide the form before showing the other one // NOTE: DO NOT CLOSE THE FORM BEFORE OPENING // THE NEW ONE OR THE APPLICAITON WILL // CLOSE! splash.Hide(); // Show our main form mFrm = new Forms.Main(); mFrm.Show(); // Now we can close it splash.Close(); }