System.Windows.Forms.TreeView_Old._RefreshList C# (CSharp) Method

_RefreshList() public method

public _RefreshList ( ) : void
return void
        public void _RefreshList()
        {
            _list = new List<_nodeControl>();
            int index = 0;
            foreach (TreeNode_Old node in Node)
            {
                if (node.Hidden) continue;
                _list.Add(new _nodeControl() { Node = node, Index = index, Depth = node.GetDepth() });
                index++;
            }
        }