private void sBtnOk_Click(object sender, EventArgs e) { GlobalExclusion = checkedListBoxControl1.CheckedItems.Cast <DevExpress.XtraEditors.Controls.CheckedListBoxItem>().Select(i => FilterCriteriaObject.EscapeLikeValue((i.Value as AnalogyCheckListItem)?.Text)).ToList(); DialogResult = DialogResult.OK; Close(); }
private void sBtnOk_Click(object sender, EventArgs e) { MessageText = FilterCriteriaObject.EscapeLikeValue(txtbMessage.Text); DialogResult = DialogResult.OK; Close(); }