private void PostIncomeQuery_Loaded(object sender, RoutedEventArgs e) { Loaded -= new RoutedEventHandler(PostIncomeQuery_Loaded); this.facade = new PostIncomeFacade(this); LoadComboBoxData(); }
private void PostIncomeImport_Loaded(object sender, RoutedEventArgs e) { this.uploader.IsEnabled = AuthMgr.HasFunctionPoint(AuthKeyConst.Invoice_PostIncomeImport_Import); facade = new PostIncomeFacade(this); }
private void InitData() { postIncomeFacade = new PostIncomeFacade(CurrentPage); otherFacade = new OtherDomainDataFacade(CurrentPage); if (currentMode == MaintanMode.Create) { currentPostIncome = new PostIncomeVM(); } this.BaseInfo.DataContext = currentPostIncome; }