private void textBoxOutput_KeyUp(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.F4) { EConsole.Console_CancelKeyPress(null, null); } if (isOneKey) { button1_Click(null, null); oneKeyKey = e.KeyCode; } //if(commandListIdx == -1) //{ // commandListIdx = commandList.Count - 1; //} //textBoxOutput.AppendText(commandList[commandListIdx]); }