I used a panel on my form to create an array of checkboxes upon loading the form. When a user checks them I have a sub procedure that shows the number of empty checkboxes and full checkboxes in textboxes. How do I clear all of the checkboxes when the user chooses the clear checkboxes menu item.
Private Sub mmuSeatsClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mmuSeatsClear.Click
Call clearSeats()
End Sub
Private Sub clearSeats()
'This is where I want the code to clear the checkboxes
txtFull.Text = Full.ToString()
txtEmpty.Text = Empty.ToString()
End Sub
Private Sub mmuSeatsClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mmuSeatsClear.Click
Call clearSeats()
End Sub
Private Sub clearSeats()
'This is where I want the code to clear the checkboxes
txtFull.Text = Full.ToString()
txtEmpty.Text = Empty.ToString()
End Sub