/// <summary> /// Invoked when the application is launched normally by the end user. Other entry points /// will be used when the application is launched to open a specific file, to display /// search results, and so forth. /// </summary> /// <param name="args">Details about the launch request and process.</param> protected override void OnLaunched(LaunchActivatedEventArgs args) { if (args.PreviousExecutionState == ApplicationExecutionState.Terminated) { //TODO: Load state from previously suspended application } //// Create a Frame to act navigation context and navigate to the first page //var rootFrame = new Frame(); //rootFrame.Navigate(typeof(MPSIS)); //// Place the frame in the current Window and ensure that it is active //Window.Current.Content = rootFrame; //Window.Current.Activate(); // Place the frame in the current Window and ensure that it is active var swapchainPanel = new MPSCBP(); Window.Current.Content = swapchainPanel; Window.Current.Activate(); }