Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I specify to use the Main method in Class2 instead of Class1 in Visual Studio?

In the project's General Properities, specify Class2 as the "Startup Object". The dropdown contains all classes with a Main method specified.

Contributed from George Shepherd's Windows Forms FAQ



Page view counter