Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #72.8K
2 Posted Topics
Re: AddHandler btn.Click, AddressOf Me.(enter your desire sub event) So your code will look something like this: [CODE] Private Sub ClickButton(ByVal sender As Object, ByVal e As EventArgs) End '''your code goes here End Sub Sub creatingBtn() btn.Location = New System.Drawing.Point(200, 150) btn.Width = 100 btn.Height = 20 Me.Controls.Add(btn) btn.Text = … | |
Re: then you would use panelname instead of me in the code above. [CODE]panel1.controls.add(label)[/CODE] |
The End.