예제 #1
0
 private static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Tasks.LoadSettings();
     HotkeyRegistor.Unregister();
     HotkeyRegistor.Register();
     Application.AddMessageFilter(new MessageFilter());
     Application.Run();
     HotkeyRegistor.Unregister();
 }
예제 #2
0
파일: Tasks.cs 프로젝트: forzalife/hotkeys
 //exit
 public static void Exit()
 {
     HotkeyRegistor.Unregister();
     HideInTaskbar();
     Application.ExitThread();
 }