public HotkeyInfo GetHotkeyInfoFromTag(int tag) { return(HotkeyList.FirstOrDefault(x => x.Tag == tag)); }
public HotkeyInfo GetHotkeyInfoFromID(ushort id) { return(HotkeyList.FirstOrDefault(x => x.ID == id)); }
public HotkeyInfo GetHotkeyInfoFromKey(Keys key) { return(HotkeyList.FirstOrDefault(x => x.Key == key)); }