/// <summary>
        /// 获取权限UComboItem集合
        /// </summary>
        /// <returns></returns>
        public static List <UComboItem> GetAllRightGroupList()
        {
            UComboItem        item;
            List <UComboItem> listUComboItem = new List <UComboItem>();

            try
            {
                UM_ManagerGroupBLL     ManagerGroupBLL = new UM_ManagerGroupBLL();
                List <UM_ManagerGroup> L_ManagerGroup  = ManagerGroupBLL.GetListArray(string.Empty);
                if (L_ManagerGroup == null)
                {
                    return(null);
                }
                foreach (UM_ManagerGroup managergroup in L_ManagerGroup)
                {
                    item = new UComboItem(managergroup.ManagerGroupName, managergroup.ManagerGroupID);
                    listUComboItem.Add(item);
                }
            }
            catch
            {
                return(null);
            }
            return(listUComboItem);
        }
 private void RightEdit_Load(object sender, EventArgs e)
 {
     try
     {
         ManagerGroupFunctionsBLL = new UM_ManagerGroupFunctionsBLL();
         FunctionsBLL             = new UM_FunctionsBLL();
         ManagerGroupBLL          = new UM_ManagerGroupBLL();
         LoadAllRightList();
         if (EditType == 2 && managergroup != null)
         {
             this.txt_GroupName.Text = managergroup.ManagerGroupName;
         }
     }
     catch (Exception ex)
     {
         string      errCode   = "GL-1222";
         string      errMsg    = "页面加载失败!";
         VTException exception = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(exception.ToString(), exception.InnerException);
     }
 }