What's wrong with thes code! everone??...why i click the BOOK button there is nothing happens
Private Sub btnBook_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles btnBook.Click
Dim gboChildren As GroupBox
Dim txtName As TextBox
Dim iPositionIncres eament As Integer = 200
Dim iTest As Integer = 0
iTest = CInt(txtChildre n.Text)
For iCounter As Integer = 1 To iTest
gboChildren = New GroupBox
gboChildren.Nam e = "Children " & iTest
gboChildren.Loc ation = New Point(30, 400 + iPositionIncres eament)
gboChildren.Aut oSize = True
txtName = New TextBox
gboChildren.Con trols.Add(txtNa me)
Next
End Sub
Private Sub btnBook_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles btnBook.Click
Dim gboChildren As GroupBox
Dim txtName As TextBox
Dim iPositionIncres eament As Integer = 200
Dim iTest As Integer = 0
iTest = CInt(txtChildre n.Text)
For iCounter As Integer = 1 To iTest
gboChildren = New GroupBox
gboChildren.Nam e = "Children " & iTest
gboChildren.Loc ation = New Point(30, 400 + iPositionIncres eament)
gboChildren.Aut oSize = True
txtName = New TextBox
gboChildren.Con trols.Add(txtNa me)
Next
End Sub
Comment