Live Chat Icon For mobile
Live Chat Icon

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;

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.