private void button1_Click(object sender, EventArgs e) { UpdateBuilderOptions(); var result = CheckOptions.Verify(Options); if (result == null) { CompileAndLaunch(); } else { UpdateStatusLabel("ERROR: " + result); AddOutput(result); } }
private void btnCompileAndRun_Click(object sender, EventArgs e) { UpdateSettings(); var result = CheckOptions.Verify(Settings); if (result == null) { CompileBuildAndStart(); } else { UpdateStatusLabel("ERROR: " + result); AddOutput(result); } }