public Payment(SalesUnitPaymentWrapper salesUnit) { var paymentActual = new PaymentActualWrapper1(new PaymentActual()); salesUnit.PaymentsActual.Add(paymentActual); SalesUnit = salesUnit; PaymentActual = paymentActual; PaymentActual.PropertyChanged += PaymentActualOnPropertyChanged; }
public Payment(SalesUnitPaymentWrapper salesUnit, PaymentActualWrapper1 paymentActual) { SalesUnit = salesUnit; PaymentActual = paymentActual; PaymentActual.PropertyChanged += PaymentActualOnPropertyChanged; }