private void button1_Click(object sender, EventArgs e) { MainForm.isKeyInputFormShow = false; this.Dispose(); CmdInputForm = new CommandInput(MainForm); CmdInputForm.Show(); }
private void button1_Click(object sender, EventArgs e) { if (MainForm.keyboardHelper.isEditKeysMode) { MainForm.keyboardHelper.isKeyInputFormShow = false; MainForm.EditKeys(); MainForm.keyboardHelper.isEditKeysMode = false; this.Dispose(); } else { MainForm.keyboardHelper.isKeyInputFormShow = false; this.Dispose(); CmdInputForm = new CommandInput(MainForm); CmdInputForm.Show(); } }