System.Windows.Forms.TreeNode.TreeNode C# (CSharp) Method

TreeNode() public method

public TreeNode ( string text, TreeNode children ) : System
text string
children TreeNode
return System
        public TreeNode(string text, TreeNode[] children)
        {
            this.BackColor = Color.Transparent;
            this.Enabled = true;
            this.ForeColor = DEFAULT_FORE_COLOR;
            this.ImageColor = Color.White;
            this.Text = text;
            if (children != null)
                this.Nodes.AddRange(children);
        }

Same methods

TreeNode::TreeNode ( TreeView treeView ) : System
TreeNode::TreeNode ( string text ) : System