protected virtual void OnSystemHotKeyPressed(SystemHotKeyPressedEventArgs e) { if (SystemHotKeyPressed != null) { SystemHotKeyPressedEventHandler invoker = SystemHotKeyPressed; invoker(this, e); } }
internal void InvokeSystemHotKeyPressed(HotKey hotKey) { SystemHotKeyPressedEventArgs e = new SystemHotKeyPressedEventArgs(hotKey); // Single click _lastPressedHotKey = hotKey; _lastPressedTime = DateTime.Now; OnSystemHotKeyPressed(e); }