예제 #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;
 }