public GamePage(string launchArguments) { this.InitializeComponent(); // Create the game. _game = XamlGame<Game1>.Create(launchArguments, Window.Current.CoreWindow, this); Console console = new Console(_game, this); SetLayout(console); _game.init(console); //_game.ioController.clear(); }