Ejemplo n.º 1
0
        public void SetGroupRights(int groupid)
        {
            var userGroupInfo = UserGroup.FindByKeyForEdit(groupid);

            this.creditshigher.Text = userGroupInfo.Creditshigher.ToString();
            this.creditslower.Text  = userGroupInfo.Creditslower.ToString();
            this.stars.Text         = userGroupInfo.Stars.ToString();
            this.color.Text         = userGroupInfo.Color;
            this.groupavatar.Text   = userGroupInfo.Groupavatar;
            this.readaccess.Text    = userGroupInfo.Readaccess.ToString();
            this.maxprice.Text      = userGroupInfo.MaxPrice.ToString();
            this.maxpmnum.Text      = userGroupInfo.MaxPmNum.ToString();
            this.maxsigsize.Text    = userGroupInfo.MaxSigSize.ToString();
            this.maxattachsize.Text = userGroupInfo.MaxAttachSize.ToString();
            this.maxsizeperday.Text = userGroupInfo.MaxSizeperday.ToString();
        }