protected override void Update(GameTime gameTime)
{
if (InputHandler.KeyPressed(Keys.F1) || InputHandler.ButtonPressed(Buttons.Start, PlayerIndex.One))
{
Config.FullScreen = !Config.FullScreen;
Graphics.IsFullScreen = Config.FullScreen;
Graphics.ApplyChanges();
}
base.Update(gameTime);
}