快捷鍵是Ctrl+F8 快捷鍵是Ctrl+Shift +Alt +A ...
1 private void WWnd_KeyDown(object sender, KeyEventArgs e) 2 { 3 if (e.Control && e.KeyCode == Keys.F8) 4 { 5 WWnd wnd = new WWnd(); 6 wnd.ShowDialog(); 7 } 8 }
快捷鍵是Ctrl+F8
private void WWnd_KeyDown(object sender, KeyEventArgs e) { if (e.Alt && e.Shift && e.Control && e.KeyCode == Keys.A) { WWnd wnd = new WWnd(); wnd.ShowDialog(); } }
快捷鍵是Ctrl+Shift +Alt +A