private void ClickAgregar(object sender, RoutedEventArgs e)
        {
            var ventana = new DetallePrestamo();

            ventana.Owner = Window.GetWindow(this);
            ventana.ShowDialog();
            ActualizarPrestamos();
        }
        private void Seleccionar(object sender, MouseButtonEventArgs e)
        {
            var ventana = new DetallePrestamo();

            ventana.Prestamo = (sender as ListViewItem).Content as Modelos.Prestamo;
            ventana.Owner    = Window.GetWindow(this);
            ventana.ShowDialog();
            ActualizarPrestamos();
        }