Check out and contribute to CodePedia, the wiki for developers.
*/

Other Views

corner
*/

WinForm FAQ - Setting First Form to Load at Startup

How do I set the first form to be loaded at application startup?

The first form to be loaded at the application startup is called the startup or main form of the application. You can set the startup form of the application by right clicking the target project node and selecting properties. It will show you the property pages for the project. Here in the Common PropertiesàGeneral, you can set the startup form by selecting its name from the drop down list of ‘Startup Object’.

C# Note

Remember that only those forms that have a valid Main() method can be selected as the startup object.

Index
corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.
Resource Listings