private void OnLostFocus(object?sender, RoutedEventArgs e)
        {
            InterceptKeys.Stop();
            InterceptKeys.KeyDown = null;

            if (_vm.HotKey.Key == 0)
            {
                ClearHotKey();
            }
        }
示例#2
0
 private void FindImageInScreenShot_FormClosing(object sender, FormClosingEventArgs e)
 {
     InterceptKeys.Stop();
     InterceptMouse.Stop();
     AudioPlaybackEngine.Instance.Dispose();
 }
示例#3
0
 private void buttonQuit_Click(object sender, EventArgs e)
 {
     interceptKeys.Stop();
     StopIrc();
 }
示例#4
0
 public static void Main(string[] args)
 {
     InterceptKeys.Run();
     CreateHostBuilder(args).Build().Run();
     InterceptKeys.Stop();
 }
示例#5
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     InterceptKeys.Stop();
 }