public void AddHotkey(string id, Keys keys, Action action) { Hotkey hk = new Hotkey(id, keys, action); AddHotkey(hk); }
/// <summary> /// Removes a hotkey from the hotkey list. /// </summary> public void RemoveHotkey(Hotkey hotkey) { hotkeyList.Remove(hotkey); }
protected bool Equals(Hotkey other) { return(string.Equals(Id, other.Id)); }