Esempio n. 1
0
 void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (_keybindings != null)
     {
         _keybindings.Finish();
     }
     _reader.Finish();
 }
 void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Properties.Settings.Default.Save();
     if (_keybindings != null)
     {
         _keybindings.Finish();
     }
     _reader.Finish();
 }
Esempio n. 3
0
 public static void StopListening()
 {
     _reader.Finish();
     _reader = null;
 }
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Properties.Settings.Default.Save();
     _reader.Finish();
     Environment.Exit(0);
 }