Beispiel #1
0
 public override void SearchClick()
 {
     if (APMDocumentHeader != null)
     {
         APMDocumentHeader.CopyDataFromControlsToARecord(selectedRecord);
     }
     this.DialogResult = true;
 }
 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();
 }