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