예제 #1
0
 public static void Stop()
 {
     hook.UnregisterAll();
     Thread.Sleep(100);
     hook = null;
 }
예제 #2
0
 private static void Rome()
 {
     hook             = new KeyboardHook();
     hook.KeyPressed += HookKeyPressed;
 }