There is a AcceptButton property on the form that can be set to the button of your choice.
>Using a C# WinForm, how do I make a command button the default button so that when a user hits enter, the command button's click() is called?
>
>Thanks,
>
>Jerry
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com