示例#1
0
        public Payment(SalesUnitPaymentWrapper salesUnit)
        {
            var paymentActual = new PaymentActualWrapper1(new PaymentActual());

            salesUnit.PaymentsActual.Add(paymentActual);
            SalesUnit     = salesUnit;
            PaymentActual = paymentActual;
            PaymentActual.PropertyChanged += PaymentActualOnPropertyChanged;
        }
示例#2
0
 public Payment(SalesUnitPaymentWrapper salesUnit, PaymentActualWrapper1 paymentActual)
 {
     SalesUnit     = salesUnit;
     PaymentActual = paymentActual;
     PaymentActual.PropertyChanged += PaymentActualOnPropertyChanged;
 }