public SmartTree() { InitializeComponent(); _contentPanel.SetOwnerTree(this); _rootNodes = new SmartTreeNodeCollection(null, this); _selectedNodes = new List <SmartTreeNode>(); // TODO: need to sign up for change event on this collection, e.g. // when a node is added/removed. Then those nodes need to be // invalidated. [17apr08, ml] }
public SmartTreeNode() { _nodes = new SmartTreeNodeCollection(this, _ownerTree); }