Example #1
0
        public void AddHotkey(string id, Keys keys, Action action)
        {
            Hotkey hk = new Hotkey(id, keys, action);

            AddHotkey(hk);
        }
Example #2
0
 /// <summary>
 /// Removes a hotkey from the hotkey list.
 /// </summary>
 public void RemoveHotkey(Hotkey hotkey)
 {
     hotkeyList.Remove(hotkey);
 }
Example #3
0
 protected bool Equals(Hotkey other)
 {
     return(string.Equals(Id, other.Id));
 }