//快捷键接口 private void FrmMain_KeyPress(object sender, KeyPressEventArgs e) //Ctrl+B { switch (e.KeyChar) { case ((char)2): //CTRL+B Logger.show(); break; case ((char)4): //CTRL+D //menuDeleteSignal_Click(sender, e); JavascriptIDE.show(); break; case ((char)15): //CTRL+O menuLoadConfigure_Click(sender, e); break; case ((char)19): //CTRL+S menuSaveConfigure_Click(sender, e); break; default: //pass; logMessage(((int)(e.KeyChar)).ToString() + "pressed but no action."); break; } }
public static void openIDE() { JavascriptIDE.show(); }