//循环遍历checkedlistbox

for (int i = 0; i < checkedListBox1.Items.Count; i++)
{
//如果被选中则执行下列代码

if (this.checkedListBox1.GetItemChecked(i))
{
MessageBox.Show(
this.checkedListBox1.Items[i].ToString());
}
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2022-02-24
  • 2021-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2021-09-29
  • 2021-11-08
  • 2021-06-30
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案