Welcome to WindowsClient.net | Sign in | Join
Set the form's AcceptButton property. You can do this either through the designer, or through code such as
form1.AcceptButton = button1;
Contributed from George Shepherd's Windows Forms FAQ