One of the overloads of the Application.Run method takes no parameters, and creates a message loop not tied to any form. You should create a sub main, and show your first form before calling Application.Run(). You'll need to call Application.Exit() to shut down the message pump manually though.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.