// Constructor public MainPage() { InitializeComponent(); game = new ModelRenderingGame(); game.Run(DrawingSurface); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); }
static void Main() { using (var program = new ModelRenderingGame()) program.Run(); }