private void FormMain_Activated(object sender, EventArgs e) { // Check if campaign is loaded. if (Campaign == null) { MessageBox.Show("You must create or load a campaign first!"); FormSplash formSplash = new FormSplash(this); formSplash.ShowDialog(); } }
// Method for creating and displaying the FormSplash form. private void DisplayFormSplash() { FormSplash formSplash = new FormSplash(this); formSplash.ShowDialog(); }