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