Example #1
0
        public void Add(FKeyModifiers mod_in, Keys key_in)
        {
            HotkeyProxy hotkey = new HotkeyProxy();

            hotkey.ModifyHotKey(mod_in, key_in);
            this.Add(hotkey);
        }
Example #2
0
 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 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 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);
 }
Example #10
0
 public void Insert(int index, HotkeyProxy item)
 {
     item.HotkeyPressed += new EventHandler(HotKeyFeatureExtension_HotkeyPressed);
     _hotkeyList.Insert(index, item);
 }
Example #11
0
 public int IndexOf(HotkeyProxy item)
 {
     return(_hotkeyList.IndexOf(item));
 }
Example #12
0
 public bool Contains(HotkeyProxy item)
 {
     return(_hotkeyList.Contains(item));
 }
Example #13
0
 public void Add(HotkeyProxy item)
 {
     item.HotkeyPressed += new EventHandler(HotKeyFeatureExtension_HotkeyPressed);
     _hotkeyList.Add(item);
 }