title: Handling all textbox event in one Handler
body: <p>I do know how to handle event of textboxes in my form. But want to make this code shorter because I will 30 textboxes. It's inefficient to use this:</p>
  
  <pre><code>Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged, TextBox2.TextChanged, TextBox3.TextChanged, TextBox4.TextChanged, TextBox5.TextChanged, TextBox6.TextChanged, TextBox7.TextChanged, TextBox8.TextChanged, TextBox9.TextChanged, TextBox10.TextChanged
      Dim tb As TextBox = CType(sender, TextBox)
  
      Select Case tb.Name
          Case "TextBox1"
              MsgBox(tb.Text)
          Case "TextBox2"
              MsgBox(tb.Text)
      End Select
  End Sub
  </code></pre>
  
  <p>Is there a way to shorten the handler?</p>