예제 #1
0
        private void WalkNodesAndNotify(TreeNodeCollectionWrapper nodes, ChangeNotificationContext context)
        {
            if (nodes == null)
            {
                throw new ArgumentNullException("nodes");
            }

            // defer...
            this.WalkNodesAndNotify(nodes.InnerList, context);
        }
예제 #2
0
        /// <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;
        }
예제 #3
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public ObjectTreeView()
        {
            // wrapper...
            _wrapper = new TreeNodeCollectionWrapper(this, base.Nodes);

            // images...
            this.ImageList = this.ImageListEx.InnerImageList;

            // subscribe...
            //ChangeRegister.Current.Subscribe(null, this);
        }