Пример #1
0
 void lstCategorias_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     var categoria = lstCategorias.SelectedItem as Category;
     Informacion inf = new Informacion(categoria, this);
     inf.Show();
     this.Hide();
 }
Пример #2
0
        void lstCategorias_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            var         categoria = lstCategorias.SelectedItem as Category;
            Informacion inf       = new Informacion(categoria, this);

            inf.Show();
            this.Hide();
        }
 void btnIncio_Click(object sender, RoutedEventArgs e)
 {
     if (mainWindow != null)
     {
         mainWindow.Show();
     }
     if (informacion != null)
     {
         informacion.Show();
     }
     this.Hide();
 }