Development and Programming
C# and .NET
How to trigger button click event by pressing enter in a textbox?
To trigger the click event when pressing enter key in the following textbox,
You can do this by setting the AcceptButton property of your form, then pressing enter key in any input boxes will automcatically trigger the click event of the OK button.
© 2018 Digcode.com. All rights reserved.