protected bool ValidateAllocation() { SortedBindingList <InputInvoiceInfo> invoices = Datos_Lineas.DataSource as SortedBindingList <InputInvoiceInfo>; IEnumerable <ITransactionPayment> lines = invoices.Cast <ITransactionPayment>(); _action_result = PaymentCommon.ValidateAllocation(_entity, _deallocated, lines); return(_action_result == System.Windows.Forms.DialogResult.OK); }
protected bool ValidateDueDate() { _action_result = PaymentCommon.ValidateDueDate(_entity, _credit_card, Vencimiento_DTP.Value); return(_action_result == System.Windows.Forms.DialogResult.OK); }