private void SelectTag(string tagName) { lvTags.Focus(); ListViewItem item = PIBUtils.FindCaption(lvTags, tagName); if (item != null) { PIBUtils.SelectItem(lvTags, item); } }
public void cmbTagSearch_TextChanged(object sender, EventArgs e) { var item = PIBUtils.FindCaption(lvTags, cmbTagSearch.Text); PIBUtils.SelectItem(lvTags, item); }