my website: https://jebbidan.wixsite.com/hadsis
https://jebbidan.editorx.io/hadsis-co...
the code:
put this code: this.AcceptButton = this.button1;
into your form load
put this code:
if (e.KeyCode == Keys.Enter)
{
button1.PerformClick();
}
into your textbox key down event.