Esempio n. 1
0
 protected virtual void OnSystemHotKeyPressed(SystemHotKeyPressedEventArgs e)
 {
     if (SystemHotKeyPressed != null)
     {
         SystemHotKeyPressedEventHandler invoker = SystemHotKeyPressed;
         invoker(this, e);
     }
 }
Esempio n. 2
0
        internal void InvokeSystemHotKeyPressed(HotKey hotKey)
        {
            SystemHotKeyPressedEventArgs e = new SystemHotKeyPressedEventArgs(hotKey);

            // Single click
            _lastPressedHotKey = hotKey;
            _lastPressedTime   = DateTime.Now;

            OnSystemHotKeyPressed(e);
        }
Esempio n. 3
0
 protected virtual void OnSystemHotKeyPressed(SystemHotKeyPressedEventArgs e)
 {
     if (SystemHotKeyPressed != null)
     {
         SystemHotKeyPressedEventHandler invoker = SystemHotKeyPressed;
         invoker(this, e);
     }
 }
Esempio n. 4
0
        internal void InvokeSystemHotKeyPressed(HotKey hotKey)
        {
            SystemHotKeyPressedEventArgs e = new SystemHotKeyPressedEventArgs(hotKey);

            // Single click
            _lastPressedHotKey = hotKey;
            _lastPressedTime = DateTime.Now;

            OnSystemHotKeyPressed(e);
        }