//Eventos private void ClickAgregar(object sender, RoutedEventArgs e) { var ventana = new DetalleClase(); ventana.Owner = Window.GetWindow(this); ventana.ShowDialog(); ActualizarClases(); }
private void Seleccionar(object sender, MouseButtonEventArgs e) { var ventana = new DetalleClase(); ventana.Clase = (sender as ListViewItem).Content as Modelos.Clase; ventana.Owner = Window.GetWindow(this); ventana.ShowDialog(); ActualizarClases(); }