示例#1
0
        public void AddChild(RawTreeNode pChild)
        {
            if (pVec == null)
            {
                pVec = new List <RawTreeNode>();
            }

            pChild.SetParent(this);
            pVec.Add(pChild);
        }
示例#2
0
        public bool Append(RawTreeNode child)
        {
            if (child == null)
            {
                return(false);
            }

            child.SetParent(this);
            GetVec().Add(child);

            return(true);
        }