Пример #1
0
        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;
            }
        }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     principal.Controls.Clear();
     principal.Controls.Add(winlexico);
     winlexico.BringToFront();
 }
Пример #3
0
 private void Button1_Click(object sender, EventArgs e)
 {
     contenedor.Controls.Clear();
     contenedor.Controls.Add(winlexico);
     winlexico.BringToFront();
 }