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(); }
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); }