public void CheckAll(bool checkState) { for (int i = 0; i < this.checkedList.Items.Count; i++) this.checkedList.SetItemChecked(i, checkState); }