Inheritance: System.Windows.Forms.Form
示例#1
0
        private void toolStripMenuItemCreateEntity_Click(object sender, EventArgs e)
        {
            TextInputDialog dialog = new TextInputDialog("Name for the type");

            dialog.ShowDialog(this);
            if (!dialog.isInputOk())
                return;

            String name = dialog.getInputText() + ".type";

            rootView.getCurrentEditor().instance.createNewEntityType(name);
        }
示例#2
0
        private void sendCommandToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TextInputDialog dialog = new TextInputDialog("Command to send");

            dialog.ShowDialog(this);
            if (!dialog.isInputOk())
                return;

            String command = dialog.getInputText();

            getCurrentEditor().instance.callCCommand(command);
        }