After installing service pack 1 for .Net framework version 1.1 i am having very strange behaviour. All buttons and list box is getting keyup events twice. I haven't checked other controls and key events.
Also my form is always receving key events first i believe the controls receives events first and then form. But after installing SP1 this has changed. Not sure its because of SP1 or something else.
In below listbox keyup event i am opening other modal form on which if i press enter key the list box is getting that enter..
Private Sub lboCallCustomer_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles lboCallCustomer.KeyUp
'If lboKeyFlg Then
' lboKeyFlg = False
' Exit Sub
Dim ee As New System.EventArgs
If e.KeyCode = Keys.Return Then
'lboKeyFlg = True
Below is keyup for forms which always receive events first even if focus is in listbox.
Private Sub frmHammerWork_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyUp
Select Case e.KeyCode
Any ideas? Am I doing something wrong?
Any suggestions are appriciated.
"Always confused after downloading hotfixes"