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