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