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