Removing Hotkeys
Easily removing hotkeys at runtime
// Remove a single hotkey.
hkl.Remove(hotkey1);// Let's use an array of already registered hotkeys.
Hotkey[] hotkeys = new Hotkey[]
{
new Hotkey(Keys.Alt, Keys.E),
new Hotkey(Keys.Alt, Keys.J)
};
// Remove the array of hotkeys.
hkl.Remove(hotkeys);// This will remove all the registered hotkeys.
hkl.RemoveAll();Last updated