/// <summary>
 /// 加载权限组列表
 /// </summary>
 private void LoadRightGroup()
 {
     try
     {
         ManagerGroupBLL = new UM_ManagerGroupBLL();
         DataSet ds = ManagerGroupBLL.GetPagingManagerGroup(strwhere, this.m_pageNo, this.m_pageSize,
                                                            out this.m_rowCount);
         DataTable RightGroup;
         if (ds == null || ds.Tables[0].Rows.Count == 0)
         {
             RightGroup = new DataTable();
             if (!isFirstInit)
             {
                 ShowMessageBox.ShowInformation("不存在记录!");
             }
         }
         else
         {
             RightGroup = ds.Tables[0];
         }
         this.gridRightGroup.DataSource = RightGroup;
     }
     catch (Exception ex)
     {
         //写日志
         string      errCode   = "GL-1202";
         string      errMsg    = "加载权限组列表失败!";
         VTException exception = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(exception.ToString(), exception.InnerException);
         throw exception;
     }
     isFirstInit = false;
 }
        /// <summary>
        /// 页面加载
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void RightManage_Load(object sender, EventArgs e)
        {
            try
            {
                ManagerGroupBLL = new UM_ManagerGroupBLL();

                InitRightGroupList();
            }
            catch (Exception ex)
            {
                //写日志
                ShowMessageBox.ShowInformation("页面加载失败!");
                string      errCode   = "GL-1200";
                string      errMsg    = "页面加载失败!";
                VTException exception = new VTException(errCode, errMsg, ex);
                LogHelper.WriteError(exception.ToString(), exception.InnerException);
            }
        }