private void btn_lexico_Click(object sender, EventArgs e) { winLexico winlexico = new winLexico(); principal.Controls.Clear(); principal.Controls.Add(winlexico); winlexico.BringToFront(); if (winlexico.iniciarSintactico) { MessageBox.Show("Lexico reconocido sin errores se habilito sintactico"); btn_sintactico.Enabled = true; } else { btn_sintactico.Enabled = false; } }
private void button1_Click(object sender, EventArgs e) { principal.Controls.Clear(); principal.Controls.Add(winlexico); winlexico.BringToFront(); }
private void Button1_Click(object sender, EventArgs e) { contenedor.Controls.Clear(); contenedor.Controls.Add(winlexico); winlexico.BringToFront(); }