private void WalkNodesAndNotify(TreeNodeCollectionWrapper nodes, ChangeNotificationContext context) { if (nodes == null) { throw new ArgumentNullException("nodes"); } // defer... this.WalkNodesAndNotify(nodes.InnerList, context); }
/// <summary> /// Constructor. /// </summary> public ObjectTreeNode(object innerObject) { // set... _wrapper = new TreeNodeCollectionWrapper(this, base.Nodes); // set... this.InnerObject = innerObject; // flag for demand load... this.DemandLoad = true; }
/// <summary> /// Constructor. /// </summary> public ObjectTreeView() { // wrapper... _wrapper = new TreeNodeCollectionWrapper(this, base.Nodes); // images... this.ImageList = this.ImageListEx.InnerImageList; // subscribe... //ChangeRegister.Current.Subscribe(null, this); }