private void ReverseSelect_Click(object sender, EventArgs e) { for (int i = 0; i < InfoList.Items.Count; i++) { if (InfoList.GetItemChecked(i)) { InfoList.SetItemChecked(i, false); } else { InfoList.SetItemChecked(i, true); } } }