Welcome to WindowsClient.net | Sign in | Join
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