Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public void dataGrid_Sorting(object sender, Microsoft.Windows.Controls.DataGridSortingEventArgs e)
 {
     SumRecord.RemoveFromList(allRecords);
 }
Exemplo n.º 3
0
 public override void dataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     SumRecord.AddToList(allRecords);
 }