wen i press the enter key,i can login.But i face a problem which is there will repeat call the login function when i press enter key a fews times and there got error!
how can i make the enter key is disable after i success login?
thnaks
Private Sub button1_keydown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TabControl1.KeyDown
If e.KeyCode = Keys.Enter Then
Call Button1_Click(sender, Nothing)
End If