Exemple #1
0
        private void SetDeltaVisible(int delta, int stamp)
        {
            _treeStamp = stamp;
            _nVisible += delta;

            if (parent != null)
            {
                parent.SetDeltaVisible(delta, stamp);
            }
            else
            {
                GetNVisible(++stamp);
            }
        }
Exemple #2
0
        private void SetDeltaVisible(int delta, int stamp)
        {
            _treeStamp = stamp;
            _nVisible += delta;

            if (parent != null)
            {
                parent.SetDeltaVisible(delta, stamp);
            }
            else
            {
                //reaching root ! Increase stamp & refresh now !
                GetNVisible(++stamp);
            }
        }