I'm losing my mind with CheckListBox, I tried to get all of my checked items in my list Here the code I use:
foreach (CheckBox i_objCheck in checkedListBox.CheckedItems)
{
m_objCheckeditem.Add(i_objCheck.Tag as GetBaselineSectionTasks);
}
But it doesn't work, when I use my breakpoint, it reached the foreach, I have two selected items but it doesn't get in Any idea of what I could do?
Aucun commentaire:
Enregistrer un commentaire