I\'d like to create keyboard shortcuts for some controls in my Windows Forms application.
Example:
this.KeyDown += new KeyEventHandler(Form1_KeyDown); void Form1_KeyDown(object sender, KeyEventArgs e) { if (e.Alt && e.KeyCode == Keys.W) { btnShowConstructionCdFun(); } }