Beispiel #1
0
 private void SetWindow2()
 {
     advancedControls = new AdvancedControls();
     //allows data transfer from options menu
     advancedControls.SubmitClicked += new
                                       EventHandler(advancedControls_SubmitClicked);
 }
Beispiel #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         advancedControls.Show();
     }
     catch
     {
         advancedControls = new AdvancedControls();
         advancedControls.Show();
     }
     attackTimer.Enabled  = false;
     releaseTimer.Enabled = false;
     myTimer.Enabled      = false;
     RunProg.Content      = "Start";
 }