private static void CommonPostMergeOperations(IFrmPetra ACallingFormOrUserControl,
            TFrmPetraEditUtils APetraUtilsObject,
            TVerificationResultCollection AVerificationResults,
            bool ACalledFromUserControl = false)
        {
            CommonUIUpdatesSavingSuccessful(ACallingFormOrUserControl, APetraUtilsObject, ACalledFromUserControl);

            if ((AVerificationResults != null)
                && (AVerificationResults.HasCriticalOrNonCriticalErrors))
            {
                TDataValidation.ProcessAnyDataValidationErrors(false, AVerificationResults, ACallingFormOrUserControl.GetType(), null);
            }
        }
예제 #2
0
        private static void CommonPostMergeOperations(IFrmPetra ACallingFormOrUserControl,
                                                      TFrmPetraEditUtils APetraUtilsObject,
                                                      TVerificationResultCollection AVerificationResults,
                                                      bool ACalledFromUserControl = false)
        {
            CommonUIUpdatesSavingSuccessful(ACallingFormOrUserControl, APetraUtilsObject, ACalledFromUserControl);

            if ((AVerificationResults != null) &&
                (AVerificationResults.HasCriticalOrNonCriticalErrors))
            {
                TDataValidation.ProcessAnyDataValidationErrors(false, AVerificationResults, ACallingFormOrUserControl.GetType(), null);
            }
        }