I have an image that is my splashscreen in my project. I did so by changing the build action to 'SplashScreen'.
In my application I start up the main OnStartup function by doing some background setup, and then ending with this:
mainWindow.DataContext = mainWindowViewModel;
mainWindow.Show();
The mainWindow is set to show on CenterScreen. However, when running, the program shows the splashscreen on one monitor and the program on another.
How can I set it up so that the screen shows up right on top of where the mainWindow will pop up within the monitors?