public override void SetValueFromControl()
        {
            CheckBox cb = (CheckBox)control.Controls[0];

            Value = cb.Checked;
            SubParamsFalse.SetValuesFromControl();
            SubParamsTrue.SetValuesFromControl();
        }
Example #2
0
        public override void SetValueFromControl()
        {
            TableLayoutPanel tbl = (TableLayoutPanel)control;
            CheckBox         cb  = (CheckBox)tbl.GetControlFromPosition(0, 0);

            Value = cb.Checked;
            SubParamsFalse.SetValuesFromControl();
            SubParamsTrue.SetValuesFromControl();
        }
        public override void SetValueFromControl()
        {
            if (control == null || control.IsDisposed)
            {
                return;
            }
            CheckBox cb = (CheckBox)control.Controls[0];

            Value = cb.Checked;
            SubParamsFalse.SetValuesFromControl();
            SubParamsTrue.SetValuesFromControl();
        }