private void ValidateProgram() { if (ProgramInvalidated) { MyBMC.ParseProgram(codeBox.Text); ErrorLogBox.Text = MyBMC.GetParserErrorLog(); Graph g = new Graph("N/A"); gleeViewCFG.Graph = g; ProgramInvalidated = false; } }