Please help, ugh
I recently converted from VB6.0 to .Net 2005 and quickly realized control arrays are no longer used. In my larger project I create 50 check boxes on form load and want to take action on a check changed event when a user selects one of the check boxes.
Can someone please let me know how to reference the checkboxes once they're created.
Here is s simplified version of my code
Thank you
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
Dim CheckBox As New CheckBox()
CheckBox.Text = "Checkbox1"
CheckBox.Location = New Point(100, 50)
CheckBox.Size = New Size(95, 45)
Me.Controls.Add(CheckBox)
End Sub
