private void OnLostFocus(object?sender, RoutedEventArgs e) { InterceptKeys.Stop(); InterceptKeys.KeyDown = null; if (_vm.HotKey.Key == 0) { ClearHotKey(); } }
private void FindImageInScreenShot_FormClosing(object sender, FormClosingEventArgs e) { InterceptKeys.Stop(); InterceptMouse.Stop(); AudioPlaybackEngine.Instance.Dispose(); }
private void buttonQuit_Click(object sender, EventArgs e) { interceptKeys.Stop(); StopIrc(); }
public static void Main(string[] args) { InterceptKeys.Run(); CreateHostBuilder(args).Build().Run(); InterceptKeys.Stop(); }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { InterceptKeys.Stop(); }