Using Handles in VB.Net
Posted on 2006-05-13
I am trying to understand an example on a book :
there is a form an it has 3 textboxes :txtbox1,txtbox2,txtbox3
and 2 command buttons. what I don't understand is there was no control with Control name , but this Sub procedure below shows Control_TextChanged, I am confused.
If someone has read Murach's Beginning Visual Basic.Net can find this example.
Private Sub Control_TextChanged(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles txtBookCode.TextChanged, _
btnUpdate.Enabled = True
btnCancel.Enabled = True