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

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

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

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

            OnSystemHotKeyPressed(e);
        }