Enabling Hotkey Selection For Controls
How to enable hotkey-selection for default Windows Controls and User Controls
var hks = new HotkeySelector();hks.Enable(textBox1);// We'll use the hotkey we defined in our previous examples.
hks.Enable(textBox1, hotkey1);// Create a new hotkey.
Hotkey hotkey2 = new Hotkey(Keys.Control | Keys.Shift, Keys.J);
// ...then set the default hotkey for a selector.
hks.Enable(textBox1, hotkey1);hks.Set(textbox1, hotkey1);Last updated