public Form1() { InitializeComponent(); this.KeyPreview = true; }
protected override void OnKeyDown(KeyEventArgs e) { base.OnKeyDown(e); if (e.KeyCode == Keys.Z && e.Alt) { MessageBox.Show("Все ГУД"); e.Handled = true; } } }