for (int i = 0; i < checkedListBox1.Items .Count; i++)
{
checkedListBox1.SetItemChecked(i, true);
}
全不选
for (int i = 0; i < checkedListBox1.Items .Count; i++)
{
checkedListBox1.SetItemChecked(i, false);
}