Alexandria.Engines.Sciagi.Resources.ScriptSection.Locals.ToTreeNode C# (CSharp) 메소드

ToTreeNode() 공개 메소드

Convert to a tree node control.
public ToTreeNode ( ) : TreeNode
리턴 System.Windows.Forms.TreeNode
            public override TreeNode ToTreeNode()
            {
                TreeNode node = new TreeNode(ToString());
                for (int index = 0; index < Count; index++)
                    node.Nodes.Add(new TreeNode(index + ". " + this[index]));
                return node;
            }