Answer the question
In order to leave comments, you need to log in
Why doesn't the display and state of the checkedListBox match?
Good afternoon. Problem with checkedListBox
Using itemCheck event
private void checkedListBox1_ItemCheck(object sender, ItemCheckEventArgs e)
{
label1.Text = e.CurrentValue.ToString();
}
Answer the question
In order to leave comments, you need to log in
Understood. In the itemCheck event, there are two options for the state of the item, currentValue and newValue.
You need to use newValue.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question