private void Form1_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.Shift && e.KeyCode == Keys.P) { MessageBox.Show("Hello"); } }