Пример #1
0
 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();
     }
 }
Пример #2
0
        // Method for creating and displaying the FormSplash form.
        private void DisplayFormSplash()
        {
            FormSplash formSplash = new FormSplash(this);

            formSplash.ShowDialog();
        }