예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HotKey"/> class.
 /// </summary>
 /// <param name="modifierKey">The modifier key.</param>
 /// <param name="secondModifierKey">The second modifier key.</param>
 /// <param name="key">The key value.</param>
 public HotKey(HotKeyModifier modifierKey, HotKeyModifier secondModifierKey, Framework.Enums.HotKey key)
 {
     this.ModifierKey       = modifierKey;
     this.SecondModifierKey = secondModifierKey;
     this.Key        = key;
     this.Registered = false;
 }
예제 #2
0
 public static extern bool RegisterHotKey(IntPtr hWnd, int id, HotKeyModifier fsModifiers, Framework.Enums.HotKey vlc);