I have the following annoyance: Whenever I start debugging an XNA game, the game window pops up in the center of my screen. Since I have a dual monitor system, I’d like to set the default startup position somewhere my second monitor. But, this should only happen in debug modus.
Share
You need to add a reference to
System.Windows.FormsandSystem.Drawing(as pointed out by Steve H) and then do the following somewhere outside the constructor, like in theInitializeoverride.The reason we have the whole namespace in the code is to avoid class name collisions(again, as pointed out by Steve H).