///<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; }
///<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; }
///<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); }
///<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); }