32.21 How do I set the default button for a form?


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

     Form1.AcceptButton = button1;

© 2001-2010 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap