Ejemplo n.º 1
0
        protected void BubbleDepth()
        {
            if (parent == null)
            {
                return;
            }

            if (depth + 1 > parent.depth)
            {
                parent.depth = depth + 1;
                parent.BubbleDepth();
            }
        }