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