예제 #1
0
        //Eventos
        private void ClickAgregar(object sender, RoutedEventArgs e)
        {
            var ventana = new DetallePersona();

            ventana.Owner = Window.GetWindow(this);
            ventana.ShowDialog();
            ActualizarPersonas();
        }
예제 #2
0
        private void Seleccionar(object sender, MouseButtonEventArgs e)
        {
            var ventana = new DetallePersona();

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