My app may open several instances of the same form. However closing the first form ( this is the one with the [STAThread], Application.Run etc ) then all instances of that form close at the same time.
Umm.... try moving the Application.Run() to a separate class which has its own ApplicationContext. You can then launch multiple forms from that class and the class will get destroyed only when all forms are closed.
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.