this.checkedListBox1.SelectedItem = checkedListBox1.Items[1];//选中项目
this.checkedListBox1.SetItemChecked(0,true);//勾选项目
this.checkedListBox1.SetItemCheckState(2,CheckState.Indeterminate); //有三种状态:选中,未选中,未确定
运行后的界面:
this.checkedListBox1.SelectedItem = checkedListBox1.Items[1];//选中项目
this.checkedListBox1.SetItemChecked(0,true);//勾选项目
this.checkedListBox1.SetItemCheckState(2,CheckState.Indeterminate); //有三种状态:选中,未选中,未确定
运行后的界面: