Example #1
0
 protected override void LoadContent()
 {
     FontManager.LoadFonts(this, "Segoe");
     _screenEngine = ScreenEngine.Initialize(this);
     Components.Add(ScreenEngine.ScreenComponent);
     _screenEngine.NavigateToScreen(new StartScreen());
     _screenEngine.SetScreenSize(_graphics.PreferredBackBufferWidth, _graphics.PreferredBackBufferHeight);
 }
 private void Button_Click()
 {
     ScreenEngine.NavigateToScreen(new SecondScreen());
 }