If you need to trap shortcut keys in your application to perform misc tasks, use the following code to set KeyPreview to true and then in the KeyDown event handle the actual clicks: private void Form_OnLoad(object sender, EventArgs e) {…
If you need to trap shortcut keys in your application to perform misc tasks, use the following code to set KeyPreview to true and then in the KeyDown event handle the actual clicks: private void Form_OnLoad(object sender, EventArgs e) {…