private void txtConstraintData_Validated(object sender, EventArgs e)
        {
            IStringConvertibleValue value = (IStringConvertibleValue)Activator.CreateInstance(Content.ConstrainedValue.GetDataType(cmbConstraintColumn.SelectedItem.ToString()).First());

            value.SetValue(txtConstraintData.Text);
            Content.ConstraintData = value;
        }
Exemplo n.º 2
0
        private void tbFilterData_Validated(object sender, EventArgs e)
        {
            IStringConvertibleValue value = CreateStringConvertibleValue(cbAttr.SelectedIndex);

            value.SetValue(tbFilterData.Text);
            Content.ConstraintData = value;
        }