private static void ResetScreenToDefaultDimensions(GraphicsDeviceManager graphics)
 {
     Camera.Reset(DefaultWindowWidth, DefaultWindowHeight);
     StaticCamera.Reset(DefaultWindowWidth, DefaultWindowHeight);
     graphics.PreferredBackBufferHeight = DefaultWindowHeight;
     graphics.PreferredBackBufferWidth  = DefaultWindowWidth;
     graphics.ToggleFullScreen();
     graphics.ApplyChanges();
 }
 private static void ActivateFullScreenMode(GraphicsDeviceManager graphics)
 {
     Camera.Reset(DisplayWidth, DisplayHeight);
     StaticCamera.Reset(DisplayWidth, DisplayHeight);
     graphics.PreferredBackBufferHeight = DisplayHeight;
     graphics.PreferredBackBufferWidth  = DisplayWidth;
     graphics.ToggleFullScreen();
     graphics.ApplyChanges();
 }