///<summary> /// Creates the panel Builder with the <see cref="IControlFactory"/> /// to be used by the panel builder for buiding the controls. ///</summary> ///<param name="controlFactory"></param> public PanelBuilder(IControlFactory controlFactory) { if (controlFactory == null) { throw new ArgumentNullException("controlFactory"); } ControlFactory = controlFactory; this.GroupControlCreator = controlFactory.CreateTabControl; _controlNamingStrategy = new ControlNamingStrategy(); }
///<summary> /// Creates the panel Builder with the <see cref="IControlFactory"/> /// to be used by the panel builder for buiding the controls. ///</summary> ///<param name="controlFactory"></param> public PanelBuilder(IControlFactory controlFactory) { if (controlFactory == null) throw new ArgumentNullException("controlFactory"); ControlFactory = controlFactory; this.GroupControlCreator = controlFactory.CreateTabControl; _controlNamingStrategy = new ControlNamingStrategy(); }