void AddRole(string moduleActionId)
    {
        Role role = new Role(txtRoleName.Text.Trim(), txtRoleDesc.Text.Trim(), string.Empty, 1, DateTime.Now, Profile.AccountInfo.UserID, DateTime.Now, Profile.AccountInfo.UserID);

        try
        {
            RoleOpts added = PermissionManager.AddRole(role, moduleActionId);
            switch (added)
            {
            case RoleOpts.Exist:
                mbMessage.ShowMsg("此角色名已存在,请勿重复使用!", Color.Red);
                break;

            case RoleOpts.Failed:
                mbMessage.ShowMsg("新增角色失败,信息无法入库!", Color.Red);
                break;

            case RoleOpts.Success:
                mbMessage.ShowMsg("新增角色成功,可继续填写新角色信息,若完成请返回!", Color.Navy);
                txtRoleDesc.Text = "";
                txtRoleName.Text = "";
                break;

            default:
                break;
            }
        }
        catch (Exception ex)
        {
            throw new HHException(ExceptionType.Failed, "新增用户角色时发生了错误,请联系管理员!(" + ex.Message + ")");
        }
    }