void ConvertRequestProductList_Loaded(object sender, RoutedEventArgs e)
 {
     OtherDomainDataFacade = new Facades.OtherDomainDataFacade(Page);
     InventoryQueryFacade  = new InventoryQueryFacade(Page);
     ItemList = new List <ConvertRequestItemVM>();
     Loaded  -= new RoutedEventHandler(ConvertRequestProductList_Loaded);
 }
Exemplo n.º 2
0
        private void InvoiceQuery_Loaded(object sender, RoutedEventArgs e)
        {
            Loaded -= new RoutedEventHandler(InvoiceQuery_Loaded);

            invoiceFacade = new InvoiceFacade(this);
            otherFacade   = new OtherDomainDataFacade(this);
            LoadComboBoxData();
        }
Exemplo n.º 3
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();
        }
Exemplo n.º 4
0
        private void SaleIncomeQuery_Loaded(object sender, RoutedEventArgs e)
        {
            Loaded -= new RoutedEventHandler(SaleIncomeQuery_Loaded);

            RegisterDynamicQueryFilters();
            InitData();
            soIncomeFacade = new SaleIncomeFacade(this);
            otherFacade    = new OtherDomainDataFacade(this);
            LoadComboBoxData();
            cbxOrderType.SelectedIndex = 0;
        }
Exemplo n.º 5
0
        private void InitData()
        {
            postIncomeFacade = new PostIncomeFacade(CurrentPage);
            otherFacade      = new OtherDomainDataFacade(CurrentPage);

            if (currentMode == MaintanMode.Create)
            {
                currentPostIncome = new PostIncomeVM();
            }
            this.BaseInfo.DataContext = currentPostIncome;
        }
Exemplo n.º 6
0
        public override void OnPageLoad(object sender, EventArgs e)
        {
            VerifyPermissions();
            base.OnPageLoad(sender, e);
            this.SearchCondition.DataContext = m_queryRequest = new FinanceQueryFilter();
            facade = new FinancialFacade(this);

            payableFacade     = new PayableFacade(this);
            otherDomainFacade = new OtherDomainDataFacade(this);
            BindComboBoxData();

            m_queryRequest.IsMangerPM         = AuthMgr.HasFunctionAbsolute(AuthKeyConst.Invoice_FinanceQuery_PM);
            m_queryRequest.OperationUserSysNo = CPApplication.Current.LoginUser.UserSysNo.Value;
        }
Exemplo n.º 7
0
        private void UCNetPayMaintain_Loaded(object sender, RoutedEventArgs e)
        {
            Loaded           -= new RoutedEventHandler(UCNetPayMaintain_Loaded);
            netpayFacede      = new NetPayFacade(CurrentPage);
            otherDomainFacade = new OtherDomainDataFacade(CurrentPage);

            this.ucNetPayInfo.SetColumnWidth(0, 77);
            this.ucRefundInfo.SetColumnWidth(2, 90);

            SetControls();
            NewNetPayDataContext();
            LoadComboBoxData();
            LoadForAudit();
        }