示例#1
0
 ///<summary>
 /// Constructs a new <see cref="TreeViewVWG"/>
 ///</summary>
 ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
 public TreeViewVWG(IControlFactory controlFactory)
 {
     if (controlFactory == null)
     {
         throw new ArgumentNullException("controlFactory");
     }
     _nodes = new TreeNodeCollectionVWG(base.Nodes, controlFactory);
 }
示例#2
0
 ///<summary>
 /// Constructs a new <see cref="TreeViewVWG"/>
 ///</summary>
 ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
 public TreeViewVWG(IControlFactory controlFactory)
 {
     if (controlFactory == null) throw new ArgumentNullException("controlFactory");
     _nodes = new TreeNodeCollectionVWG(base.Nodes, controlFactory);
 }
示例#3
0
/*
 *          ///<summary>
 *          /// Constructs a new <see cref="TreeNodeVWG"/> with the specified text.
 *          ///</summary>
 *          ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
 *          public TreeNodeVWG(IControlFactory controlFactory) : this(controlFactory, "") { }*/

            ///<summary>
            /// Constructs a new <see cref="TreeNodeVWG"/> with the specified text.
            ///</summary>
            ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
            ///<param name="text">The label text of the new Tree node</param>
            public TreeNodeVWG(IControlFactory controlFactory, string text)
                : base(text)
            {
                _nodes = new TreeNodeCollectionVWG(base.Nodes, controlFactory);
            }
示例#4
0
/*
            ///<summary>
            /// Constructs a new <see cref="TreeNodeVWG"/> with the specified text.
            ///</summary>
            ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
            public TreeNodeVWG(IControlFactory controlFactory) : this(controlFactory, "") { }*/

            ///<summary>
            /// Constructs a new <see cref="TreeNodeVWG"/> with the specified text.
            ///</summary>
            ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
            ///<param name="text">The label text of the new Tree node</param>
            public TreeNodeVWG(IControlFactory controlFactory, string text)
                : base(text)
            {
                _nodes = new TreeNodeCollectionVWG(base.Nodes, controlFactory);
            }