Пример #1
0
        internal RICustomDataCategory(RICustomData root, String caption, RICustomDataElementType cType, Int16 level) : base(root, cType, level)
        {
            Root     = root;
            Caption  = caption;
            Expanded = true;
            Children = new List <RICustomDataElement>();

            if (Root != null)
            {
                if ((level + 1) > root.MaxCategoryLevels)
                {
                    root.MaxCategoryLevels = (Int16)(level + 1);
                }
            }
        }
Пример #2
0
 internal RICustomDataElement(RICustomData root, RICustomDataElementType cType, Int16 level)
 {
     Root           = root;
     CustomDataType = cType;
     Level          = level;
 }