Keyboard Hook :) If any event handler returns true, the input will be canceled ;) - 簡単キーボードフック。いずれかのイベントハンドラがtrueを返すと、そのキーボードイベントは握りつぶされる。
Inheritance: IDisposable
Esempio n. 1
0
 static void Main()
 {
     using (var HookLL = new KeyboardHook(true))
     {
         HookLL.OnKeyDown += HookLL_OnKeyDown;
         HookLL.OnKeyUp += HookLL_OnKeyUp;
         Console.ReadLine();
     }
 }