ToTree() public method

public ToTree ( ) : TreeNode
return System.Windows.Forms.TreeNode
Exemplo n.º 1
0
        public override TreeNode ToTree()
        {
            TreeNode t = new TreeNode("E#" + MyIndex.ToString("d6") + " : " + pcc.GetObject(MyIndex + 1));

            t.Name = (MyIndex + 1).ToString();
            if (STMC != null)
            {
                t.Nodes.Add(STMC.ToTree());
            }
            return(t);
        }