예제 #1
0
        public void ApplyRestriction(long userId)
        {
            UserRestrictionState r = GetRestriction(userId);

            item.Visible   = r != UserRestrictionState.Restricted;
            item.Sensitive = r != UserRestrictionState.Disabled;

            SubItems.ApplyRestriction(userId);
        }