C
ChrisM
Hi,
Don't know if anyone can cast any light on this...
I have a fairly complex C# WinForm with (amongst other) a text box and a
button.
The TextBox has events declared for KeyUp and KeyDown, the button has a
simple Click event.
Under certain circumstances (haven't worked out exactly what they are yet,
but it involves opening and closing a sub form). Pressing ENTER with the
cursor in the textbox causes the Button Click event to fire...!!
Can anyone make ANY suggestions as to where I could start troubleshooting
this?
Thanks,
ChrisM
Don't know if anyone can cast any light on this...
I have a fairly complex C# WinForm with (amongst other) a text box and a
button.
The TextBox has events declared for KeyUp and KeyDown, the button has a
simple Click event.
Under certain circumstances (haven't worked out exactly what they are yet,
but it involves opening and closing a sub form). Pressing ENTER with the
cursor in the textbox causes the Button Click event to fire...!!
Can anyone make ANY suggestions as to where I could start troubleshooting
this?
Thanks,
ChrisM