internal void RaiseHotKeyEvent() { HotkeyHandlerDelegate handler = HotKeyPressedEvent; if (handler != null && !Disabled) { handler(this, new HotKeyEventArgs(id)); } }
public HotKey(int id, uint modifiers, uint vk, HotkeyHandlerDelegate HotKeyHandler) : this(id, modifiers, vk) { HotKeyPressedEvent += HotKeyHandler; }