Beispiel #1
0
        private void ListViewMenu_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            UserControl usc = null;


            //GridMain.Children.Clear();



            switch (((ListViewItem)((ListView)sender).SelectedItem).Name)
            {
            case "ItemHome":
                //usc = new UserControlHome();
                //GridMain.Children.Add(usc);
                break;

            case "ItemLexico":
                usc = new winLexical();
                GridMain.Children.Add(usc);
                break;

            case "itemSintactico":

                usc = new winSintactico();
                GridMain.Children.Add(usc);
                break;
            }
        }
Beispiel #2
0
        private void Btn_aceptar_Click(object sender, RoutedEventArgs e)
        {
            winLexical    wl = new winLexical();
            winSintactico ws = new winSintactico();

            wl.Btn_reconocerTodo_Click(sender, e);
            ws.Btn_movimiento_Click(sender, e);
            f.GenerarCodigoCuadruplos();
        }
Beispiel #3
0
 private void btn_nuevoArchivo(object sender, RoutedEventArgs e)
 {
     Menu       m  = new Menu();
     winLexical le = new winLexical();
 }