private void btnFind_Click(object sender, EventArgs e) { if ((cmbFindColumn.SelectedItem != null) && (cmbFindOperator.SelectedItem != null)) { GridEXFilterCondition condition = new GridEXFilterCondition((GridEXColumn)cmbFindColumn.SelectedItem, ((FilterOperatorListItem)cmbFindOperator.SelectedItem).Operator, GetFindValue()); grid.Find(condition, -1, 1); grid.Focus(); } }