public static void HotkeyRegister(this Control control, Keys key, HandledEventHandler handler) { Hotkey.Register(control, KeyMod.None, key, handler); }
public static void HotkeyRegister(this Control control, KeyMod mod, Keys key, HandledEventHandler handler) { Hotkey.Register(HotkeyType.Control, control, mod, key, handler); }