Пример #1
0
 private static void HookedKeyPress(NeatHook neatHook, KeyHook keyHook)
 {
     OnHookedKeyPress?.Invoke(neatHook, new KeyPressEventArgs {
         Key = keyHook.Key, Modifiers = keyHook.Modifiers
     });
 }
Пример #2
0
 /// <summary>
 /// Unregisteres the hot key.
 /// </summary>
 public void Unregister()
 {
     NeatHook.UnregisterKey(Id);
 }