コード例 #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();
        }