How do I set the default button for a form

Platform: WinForms|Category: Form

Set the form’s AcceptButton property. You can do this either through the designer, or through code such as

	Form1.AcceptButton = button1;