private void UpdateProductList() { categoryCombo.SelectedIndex = 0; busquedaTextBox.Text = ""; listaFiltrada = new ObservableCollection <Producto>(ProductoHandler.ProductList); myDataGrid.ItemsSource = ProductoHandler.ProductList; myDataGrid.DataContext = ProductoHandler.ProductList; myDataGrid.Items.Refresh(); ProductoHandler.Actualizarxml(); }
private void Button_Click_6(object sender, RoutedEventArgs e) { ProductoHandler.Actualizarxml(); myNavigationFrame.NavigationService.Navigate(new ProductShow(ProductoHandler)); }