/// <summary>
 /// Constructor to create a new CheckBox mapper object
 /// </summary>
 /// <param name="cb">The CheckBox object to be mapped</param>
 /// <param name="propName">A name for the property</param>
 /// <param name="isReadOnly">Whether this control is read only</param>
 /// <param name="factory">the control factory to be used when creating the controlMapperStrategy</param>
 public CheckBoxMapper(ICheckBox cb, string propName, bool isReadOnly, IControlFactory factory)
     : base(cb, propName, isReadOnly, factory)
 {
     _checkBox = cb;
     _strategy = factory.CreateCheckBoxMapperStrategy();
     if (_strategy == null) return;
     _strategy.AddClickEventHandler(this);
 }
 /// <summary>
 /// Constructor to create a new CheckBox mapper object
 /// </summary>
 /// <param name="cb">The CheckBox object to be mapped</param>
 /// <param name="propName">A name for the property</param>
 /// <param name="isReadOnly">Whether this control is read only</param>
 /// <param name="factory">the control factory to be used when creating the controlMapperStrategy</param>
 public CheckBoxMapper(ICheckBox cb, string propName, bool isReadOnly, IControlFactory factory)
     : base(cb, propName, isReadOnly, factory)
 {
     _checkBox = cb;
     _strategy = factory.CreateCheckBoxMapperStrategy();
     if (_strategy == null)
     {
         return;
     }
     _strategy.AddClickEventHandler(this);
 }