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

            // defer...
            this.WalkNodesAndNotify(nodes.InnerList, context);
        }
Exemple #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;
        }
Exemple #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);
        }