Esempio n. 1
0
 private void AccountManage_Load(object sender, EventArgs e)
 {
     try
     {
         UserInfoBLL = new UM_UserInfoBLL();
         SetQueryUserInfo();
         InitUserList();
     }
     catch (Exception ex)
     {
         //写日志
         ShowMessageBox.ShowInformation("窗体加载失败!");
         string      errCode   = "GL-0321";
         string      errMsg    = "窗体加载失败!";
         VTException exception = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(exception.ToString(), ex);
     }
 }
Esempio n. 2
0
 private void ManagerManage_Load(object sender, EventArgs e)
 {
     try
     {
         UserInfoBLL = new UM_UserInfoBLL();
         SetManagerQueryEntity();
         Init();
     }
     catch (Exception ex)
     {
         //写日志
         ShowMessageBox.ShowInformation("窗体加载失败!");
         string      errCode   = "GL-1000";
         string      errMsg    = "窗体加载失败!";
         VTException exception = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(exception.ToString(), exception.InnerException);
     }
 }