2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Pgmer
0
If CheckBox1.CheckState = CheckState.Checked Then
               If CheckBox1.CheckState = CheckState.Checked Then
                For i As Int16 = 1 To 5
                    ListBox1.Items.Add(i).ToString()
                Next
            Else
                ListBox1.Items.Clear()
            End If            End If

Write this code in CheckBox1_CheckStateChanged Event

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.