void DictManager_OnDictionaryLoadCompleted(object sender, OnDictionaryLoadArgs e) { if (e.Error == null && e.Result) { InitFormToolBarButton(); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "字典加载错误,请联系管理员", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } }
void DictManager_OnDictionaryLoadCompleted(object sender, OnDictionaryLoadArgs e) { if (e.Error == null && e.Result) { InitFormToolBar(); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "字典加载错误,请联系管理员", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } }
static void DictManager_OnDictionaryLoadCompleted(object sender, OnDictionaryLoadArgs e) { if (e.Error == null) { try { ReferencedData <OrderStatusData> .RefData = GetOrderStatus(); ReferencedData <PayTypeData> .RefData = GetPayType(); ReferencedData <RepayTypeData> .RefData = GetRepayTypeData(); ReferencedData <BorrowTypeData> .RefData = GetBorrowTypeData(); //ReferencedData<BudgetAccountTypeData>.RefData = GetBudgetAccountTypeData(); ReferencedData <QueryData> .RefData = GetQueryList(); ReferencedData <LoginUserData> .RefData = new List <LoginUserData> { DataCore.CurrentUser }; ReferencedData <ControlTypeData> .RefData = GetControlTypeData(); ReferencedData <BudgetChargeTypeData> .RefData = GetBudgetChargeTypeData(); ReferencedData <BudgetTypeData> .RefData = GetBudgetTypeData(); //beyond ReferencedData <BudgetSumStatesData> .RefData = GetBudgetSumStates(); ReferencedData <MonthItem> .RefData = GetMonthItems(); ReferencedData <YearItem> .RefData = GetYearItems(); IsInit = true; if (InitDataCoreCompleted != null) { InitDataCoreCompleted(null, null); } } catch { if (InitDataCoreCompleted != null) { InitDataCoreCompleted(null, new ActionCompletedEventArgs <string>("读取个人信息异常,无法加载当前页面")); } IsInit = false; } } }
void DictManager_OnDictionaryLoadCompleted(object sender, OnDictionaryLoadArgs e) { if (e.Error == null) { this.Loaded += new RoutedEventHandler(BorrowAppForm_Loaded); } }
void dicManager_OnDictionaryLoadCompleted(object sender, OnDictionaryLoadArgs e) { ayTools.BeginRun(); }
void DictManager_OnDictionaryLoadCompleted(object sender, OnDictionaryLoadArgs e) { if (e.Error == null && e.Result) { //InitToolBarEvent(); //LoadData(); } else { loadbar.Stop(); ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "字典加载错误,请联系管理员", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } }
void DictManager_OnDictionaryLoadCompleted(object sender, OnDictionaryLoadArgs e) { if (e.Error == null && e.Result) { if (IsManageUse) { InitMethodForManage(action, tmpViewCompanyDoc); } else { InitMethodToEngine(action, tmpSendID); } } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), "字典加载错误,请联系管理员", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation); return; } }