Ejemplo n.º 1
0
 ///<summary>
 /// Constructs a new <see cref="TreeViewWin"/>
 ///</summary>
 ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
 public TreeViewWin(IControlFactory controlFactory)
 {
     if (controlFactory == null)
     {
         throw new ArgumentNullException("controlFactory");
     }
     _nodes = new TreeNodeCollectionWin(base.Nodes, controlFactory);
     _suppressDoubleClickEvent = false;
 }
Ejemplo n.º 2
0
 ///<summary>
 /// Constructs a new <see cref="TreeViewWin"/>
 ///</summary>
 ///<param name="controlFactory">The Control Factory to use to construct new nodes</param>
 public TreeViewWin(IControlFactory controlFactory)
 {
     if (controlFactory == null) throw new ArgumentNullException("controlFactory");
     _nodes = new TreeNodeCollectionWin(base.Nodes, controlFactory);
     _suppressDoubleClickEvent = false;
 }
Ejemplo n.º 3
0
 ///<summary>
 /// Constructs a new <see cref="TreeNodeWin"/> 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 TreeNodeWin(IControlFactory controlFactory, string text) : base(text)
 {
     _nodes = new TreeNodeCollectionWin(base.Nodes, controlFactory);
 }
Ejemplo n.º 4
0
 ///<summary>
 /// Constructs a new <see cref="TreeNodeWin"/> 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 TreeNodeWin(IControlFactory controlFactory, string text) : base(text)
 {
     _nodes = new TreeNodeCollectionWin(base.Nodes, controlFactory);
 }