The following event in a Winforms Form does not fire for me:
Public Class Form1
Private Sub Form1_Enter(sender As Object, e As EventArgs) Handles Me.Enter
Debug.Print("enter!")
End Sub
End Class
I expect it to fire when I have another window open in the background (for example notepad.exe), and notepad is focussed, and then I click on my form or mouse-enter it to activate my app / form.
Does not fire for me. Why?
Thank you.