예제 #1
0
 public void TerminateApp()
 {
     KeyListener.StopKeyListener();
     theApp.HaltAnimation();
     theApp.StopLGS();
     theApp.WindowClosing(); // closes settings window and other clean up
     Close();
     Application.Current.Shutdown();
 }
예제 #2
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     KeyListener.StopKeyListener();
     theApp.HaltAnimation();
     theApp.StopLGS();
 }