예제 #1
0
 void UCRefundPrepayCard_Loaded(object sender, RoutedEventArgs e)
 {
     BindComboxData();
     facade           = new AuditRefundFacade();
     this.DataContext = VM;
     refundVM         = new RefundPrepayCardVM()
     {
         SOIncomeBankInfoSysNo = VM.SysNo
     };
 }
예제 #2
0
        private void AuditRefundQuery_Loaded(object sender, RoutedEventArgs e)
        {
            Loaded -= new RoutedEventHandler(AuditRefundQuery_Loaded);

            InitData();
            auditRefundFacade = new AuditRefundFacade(this);
            otherFacade       = new OtherDomainDataFacade(this);
            commonFacade      = new CommonDataFacade(this);
            LoadComboBoxData();
        }
        public UCSOIncomeRefundMaintain(AuditRefundVM refund, AuditRefundFacade facade)
            : this()
        {
            auditRefundFacade = facade;
            currentRefund     = EntityConverter <AuditRefundVM, SOIncomeRefundMaintainVM> .Convert(refund);

            currentRefund.RefundInfo = EntityConverter <AuditRefundVM, RefundInfoVM> .Convert(refund, (s, t) =>
            {
                t.RefundMemo = s.Note;
            });
        }