Thank you for your help in advance.
In the following code located in Main(): Application.Run(new frmBackground(frmExit)) I am trying to launch window frmBackground that takes a window as a parameter in the constructor and after all content is loaded (background image), it then launches the passed window. This however does not compile and only compiles when I use Application.Run(new frmBackground(new frmExit())) which passess the correct window parameter, but on its own, creates an instance of frmExit and launches the window even when frmBackground code that launches the window is commented out.
Thank you again.