void CompileBtn_Click(object sender, EventArgs e) { if (_scriptCodeTxt.Text.Length == 0) { return; // Nothing to do... } try { CompilerOutputTxt.Clear(); ScriptOutputTxt.Clear(); RunCompiler(); RunExecutable(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
void ClearBtn_Click(object sender, EventArgs e) { CompilerOutputTxt.Clear(); ScriptOutputTxt.Clear(); }