SyntaxFix
Write A Post
Hire A Developer
Questions
In Visual Studio 2017, using c#, just add the AcceptButton attribute to your button, in my example "btnLogIn":
this.btnLogIn = new System.Windows.Forms.Button(); //....other settings this.AcceptButton = this.btnLogIn;