public override void SearchClick() { if (documentHeader != null) { documentHeader.CopyDataFromControlsToARecord(selectedRecord); } if (SameFilterObjects()) { return; } firstCall = false; fiscalYearChanged = false; GlobalFunctions.CopyRecord(lastParameter, selectedRecord); LoadData(); SumRecord.Calculate(allRecords); dataGrid.ItemsSource = allRecords; (dataGrid.Parent as APMDataGridExtended).XSetBinding(bindingList); MoveCollectionView(); }
public void dataGrid_Sorting(object sender, Microsoft.Windows.Controls.DataGridSortingEventArgs e) { SumRecord.RemoveFromList(allRecords); }
public override void dataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e) { SumRecord.AddToList(allRecords); }