private void Search_Click(object sender, EventArgs e) { MapList.Rows.Clear(); MapList.Refresh(); var culture = CultureInfo.CurrentUICulture; foreach (var map in maplist) { if (culture.CompareInfo.IndexOf(map, SearchBox.Text, CompareOptions.IgnoreCase) >= 0) { MapList.Rows.Add(maplist.IndexOf(map) + 1, map, starlist[maplist.IndexOf(map)], pplist[maplist.IndexOf(map)]); } } }