public void SelectByName(string name) { for (int i = 0; i < this.Items.Count; i++) { if (this.Items[i].Name == name) SelectItem(i); } }