/// <summary>
        /// Construcst the SelectorControlBinder with the Selector Control.
        /// </summary>
        /// <param name="listControl"></param>
        public HabaneroSelectorControlBinder(TControlType listControl)
        {
            _controlAdaptorFactory = new WinFormsControlAdaptorFactory();
            ControlBinders         = new List <HabaneroControlBinder <TBo> >();

            _lstControl      = _controlAdaptorFactory.GetHabaneroControl(listControl) as IListControl;
            _selectorManager = CreateBoColSelector(ListControl);
            _selectorManager.BusinessObjectSelected += OnBusinessObjectSelected;
        }
 public HabaneroControlBinder(IControlNamingConvention namingConvention)
 {
     //Pull this into an argument in the Constructor
     // to be able to Inject a different Adaptor Factory e.g. for Infragistics.
     _controlAdaptorFactory = new WinFormsControlAdaptorFactory();
     //Pull this into an argument in the Constructor
     // to be able to Inject a different naming convention.
     _controlNamingConvention = namingConvention;
     //Pull this into an argument in the Constructor
     // to be able to Inject a different Mapper Registry e.g. for Infragistics.
     _controlMapperRegistry    = new WinFormsControlMapperRegistry(_controlNamingConvention);
     ControlMappers            = new ControlMapperCollection();
     _compulsoryFieldIndicator = "*";
 }