//================================ 事件 ================================ #region 转账管理窗体 TransferManageUI_Load /// <summary> /// 转账管理窗体 TransferManageUI_Load /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void TransferManageUI_Load(object sender, EventArgs e) { try { AccountTypeBLL = new UM_AccountTypeBLL(); //L_AccountType = AccountTypeBLL.GetListArray(string.Empty); DealerAccountBLL = new UM_DealerAccountBLL(); SetQueryUserInfo(); InitUserList(); //转出账户类型 cmbTransOut.Properties.Items.Clear(); cmbTransOut.Properties.Items.AddRange(ComboBoxDataSource.GetAccountTypeList()); cmbTransOut.SelectedIndex = 0; //转入账户类型(默认显示不包含银行资金账户) cmbTransIn.Properties.Items.Clear(); cmbTransIn.Properties.Items.AddRange(ComboBoxDataSource.GetAccountTypeListByAccountTypeID((int)GTA.VTS.Common.CommonObject.Types.AccountType.BankAccount)); cmbTransIn.SelectedIndex = 0; //币种类型 cmbCurrencyType.Properties.Items.Clear(); cmbCurrencyType.Properties.Items.AddRange(ComboBoxDataSource.GetCurrencyTypeList()); cmbCurrencyType.SelectedIndex = 0; } catch (Exception ex) { ShowMessageBox.ShowInformation("窗体加载失败!"); string errCode = "GL-0371"; string errMsg = "转账管理窗体加载失败!"; VTException exception = new VTException(errCode, errMsg, ex); LogHelper.WriteError(exception.ToString(), ex); } }
/// <summary> /// 加载页面 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void FreezeManage_Load(object sender, EventArgs e) { try { AccountTypeBLL = new UM_AccountTypeBLL(); L_AccountType = AccountTypeBLL.GetListArray(string.Empty); DealerAccountBLL = new UM_DealerAccountBLL(); SetQueryUserInfo(); InitUserList(); } catch (Exception ex) { ShowMessageBox.ShowInformation("窗体加载失败!"); string errCode = "GL-0351"; string errMsg = "帐号冻结解冻管理窗体加载失败!"; VTException exception = new VTException(errCode, errMsg, ex); LogHelper.WriteError(exception.ToString(), ex); } }