private void btnModificar_Click(object sender, RoutedEventArgs e) { Paquetes r = ((Button)sender).DataContext as Paquetes; long lID = r.ID; Popups.Paquete w = new Popups.Paquete(lID); w.ShowDialog(); realizarBusqueda(new Paquetes()); }
private void btnAdd_Click(object sender, RoutedEventArgs e) { Popups.Paquete w = new Popups.Paquete(); w.ShowDialog(); realizarBusqueda(new Paquetes()); }