title: add event to button in vb.net
body: <pre><code>Public Class Form1
      Dim i As Integer = 0
      Dim txt As New TextBox()
      Dim btn As New Button()
  
      Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
          btn.Name = "btnMove"
          btn.Size = New Size(60, 20)
          btn.Location = New Point(220, 20)
          btn.Text = "move"
          btn.TextAlign = ContentAlignment.MiddleCenter
          Me.Controls.Add(btn)
          Me.BringToFront()
      End Sub
  
      Private Sub btnMove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn.Click
  
      End Sub
  End Class
  </code></pre>
  
  <p>this is my code and i want to add an event to btn Button i hope that i make my problem clear and sorry for my bad English</p>