jeudi 16 novembre 2017

Is there any way to clear all the checked box "WITHOUT" loop through all the boxes?

I have a checkedListBox, how can I uncheck all the boxes without looping through each boxes such as

for(int i;i=0;i<checkedListBox1.Items.Count)
{
    checkedListBox1.SetItemChecked(i,false);
}

Thanks!!!




Aucun commentaire:

Enregistrer un commentaire