public void Add(FKeyModifiers mod_in, Keys key_in) { HotkeyProxy hotkey = new HotkeyProxy(); hotkey.ModifyHotKey(mod_in, key_in); this.Add(hotkey); }
public bool Remove(HotkeyProxy item) { if (_hotkeyList.Remove(item)) { item.HotkeyPressed -= new EventHandler(HotKeyFeatureExtension_HotkeyPressed); return(true); } else { return(false); } }
public void Insert(int index, HotkeyProxy item) { item.HotkeyPressed += new EventHandler(HotKeyFeatureExtension_HotkeyPressed); _hotkeyList.Insert(index, item); }
public int IndexOf(HotkeyProxy item) { return _hotkeyList.IndexOf(item); }
public bool Remove(HotkeyProxy item) { if (_hotkeyList.Remove(item)) { item.HotkeyPressed -= new EventHandler(HotKeyFeatureExtension_HotkeyPressed); return true; } else return false; }
public void CopyTo(HotkeyProxy[] array, int arrayIndex) { _hotkeyList.CopyTo(array, arrayIndex); }
public bool Contains(HotkeyProxy item) { return _hotkeyList.Contains(item); }
public void Add(HotkeyProxy item) { item.HotkeyPressed += new EventHandler(HotKeyFeatureExtension_HotkeyPressed); _hotkeyList.Add(item); }
public int IndexOf(HotkeyProxy item) { return(_hotkeyList.IndexOf(item)); }
public bool Contains(HotkeyProxy item) { return(_hotkeyList.Contains(item)); }