示例#1
0
 private void SetWindow2()
 {
     advancedControls = new AdvancedControls();
     //allows data transfer from options menu
     advancedControls.SubmitClicked += new
                                       EventHandler(advancedControls_SubmitClicked);
 }
示例#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";
 }