private void MDIParent1_KeyDown(object s, KeyEventArgs e) { if (e.Control && e.KeyCode.ToString() == "q") { MessageBox.Show("welcome"); this.KeyPreview = false; } }
ctrl+q
e.KeyCode.ToString() == "Q"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)