That depends on what kind of hotkey you want. Do you want a shortcut key, or an access key?
Access keys are created on all able form controls (except menu bars) by putting an ambersand "&" infront of the letter you want to making accessable and setting the "UseMnemonics" property of the control to true.
Access keys for a menu bar are simply created by typing an ambersand before the letter you want to make accessible.
Shortcut keys are created in menu items by setting the ShortcutKey property of the menu item to use a combination of CTRL + <the letter>, ALT + <the letter>, or SHIFT + <the letter>.
Former memberPosted Dec 13, 2007, 8:12 AM EST
Access keys are created on all able form controls (except menu bars) by putting an ambersand "&" infront of the letter you want to making accessable and setting the "UseMnemonics" property of the control to true.
Access keys for a menu bar are simply created by typing an ambersand before the letter you want to make accessible.
Shortcut keys are created in menu items by setting the ShortcutKey property of the menu item to use a combination of CTRL + <the letter>, ALT + <the letter>, or SHIFT + <the letter>.
Dmitry2 pointsPosted Oct 24, 2011, 8:35 AM EDT
http://greatis.com/dotnet/nostalgia/hotkeys.html