Exemplo n.º 1
0
        public void AddHotkey(string id, Keys keys, Action action)
        {
            Hotkey hk = new Hotkey(id, keys, action);

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