public void SetItemChecked(int index, bool value) { SetItemCheckState(index, value ? CheckState.Checked : CheckState.Unchecked); }