Private Sub CheckBox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged, CheckBox2.CheckedChanged, CheckBox3.CheckedChanged, CheckBox_n.CheckedChanged
Dim strName As String = sender.name
Select Case strName
Case "CheckBox1"
TextBox1.Text = CheckBox1.Text
Case "CheckBox2"
TextBox2.Text = CheckBox2.Text
Case "CheckBox3"
TextBox3.Text = CheckBox3.Text
.......
Case "CheckBox_n"
TextBox_n.Text = CheckBox_n.Text
End Select
End Sub