TreeNode.PopulateGuiChildren C# (CSharp) Method

PopulateGuiChildren() public method

public PopulateGuiChildren ( ) : void
return void
    public void PopulateGuiChildren()
    {
        if (Children != null) {
            foreach (TreeNode c in Children) {
                AddChild (c);
                c.PopulateGuiChildren ();
            }

            if (this [0] is DummyNode)
                this.RemoveChild (this [0] as DummyNode);
        } else if (NodeXmlSrc != null && ChildCount == 0)
            AddChild (new DummyNode ());
    }