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