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