Koristim ovaj kod (dole) za brisanje chekiranih itema ali mi uvek ostaje jedan neobrisan item:
checkedListBox2.CheckedItems.Count vraca pravi broj itema ...
U cemu je problem ? Hvala.
Code:
for (int i = 0; i <= checkedListBox2.CheckedItems.Count - 1; i++)
{
checkedListBox2.Items.RemoveAt(i);
}
for (int i = 0; i <= checkedListBox2.CheckedItems.Count - 1; i++)
{
checkedListBox2.Items.RemoveAt(i);
}
checkedListBox2.CheckedItems.Count vraca pravi broj itema ...
U cemu je problem ? Hvala.
Potpis
“If you think you are too small to make a difference, try sleeping with a mosquito.” - Dalai Lama
XIV
XIV