public MainForm() { InitializeComponent(); this.Show(); this.Activate(); this.program = new GUIProgram(tb_source_code); btn_next_step.Enabled = false; }
/// <summary> /// Обновить все данные, заново начать прогу /// </summary> private void btn_refresh_all_Click(object sender, EventArgs e) { this.program = new GUIProgram(this.tb_source_code); this.tb_error.Clear(); this.tb_result.Clear(); TMO.printTMO(this.dgv_tmo); Global.printGlobal(this.dgv_global); this.enableButtons(); btn_next_step.Enabled = false; label3.Text = "Ошибка 1 прохода"; }