_tree.Model = _model; _tree.BeginUpdate(); Node parentNode = new Node("root"); string text = parentNode.Text; _model.Nodes.Add(parentNode); for (int n = 0; n < 2; n++) { Node childNode = new Node("Child" + n); parentNode.Nodes.Add(childNode); } _tree.EndUpdate();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)