private void ValidateDataDetailsManual(PcEarlyLateRow ARow) { // this is used to compare with the row that is being validated DataRowCollection GridData = FMainDS.PcEarlyLate.Rows; TVerificationResultCollection VerificationResultCollection = FPetraUtilsObject.VerificationResultCollection; TSharedConferenceValidation_Conference.ValidateEarlyLateRegistration(this, ARow, ref VerificationResultCollection, FPetraUtilsObject.ValidationControlsDict, GridData, FEndDate); }
private void ValidateDataDetailsManual(PcConferenceCostRow ARow) { StackFrame frame = new StackFrame(2); // only validate when data is being saved if (frame.GetMethod().Name == "SaveChanges") { // this is used to compare with the row that is being validated DataRowCollection GridData = FMainDS.PcConferenceCost.Rows; if (txtDetailCharge.Text == "") { txtDetailCharge.Text = "0.00"; ARow.Charge = 0; } TVerificationResultCollection VerificationResultCollection = FPetraUtilsObject.VerificationResultCollection; TSharedConferenceValidation_Conference.ValidateConferenceStandardCost(this, ARow, ref VerificationResultCollection, FPetraUtilsObject.ValidationControlsDict, GridData); } }