예제 #1
0
 private void sureBtn_Click(object sender, EventArgs e)
 {
     if (tacticalCheck.Checked && !maintenanceCheck.Checked)
     {
         this.Hide();
         var frm = new TacticalScenarios();
         frm.Show();
     }
     else if (!tacticalCheck.Checked && maintenanceCheck.Checked)
     {
         this.Hide();
         var frm = new MaintenanceControlSystem();
         frm.Show();
     }
     else if (!tacticalCheck.Checked && !maintenanceCheck.Checked)
     {
         {
             this.checkMsg.Text    = "Please check . . . ";
             this.checkMsg.Visible = true;
         }
     }
     else
     {
         this.checkMsg.Text    = "check ONLY ONE. . . ";
         this.checkMsg.Visible = true;
     }
 }
예제 #2
0
        private void playAgainBtn_Click(object sender, System.EventArgs e)
        {
            var frm = new TacticalScenarios();

            this.Hide();
            frm.Show();
        }