02-09-2021, 08:52 PM
There are 2 separate buttons. The button on the form with the link is getting ITS onclick called because it is executing the Show method you put in it. So of course when the forgotform is shown, the button has not been clicked yet so it wont have its onclick called until after it is shown AND then the button is clicked.

