MotivaTED/MainPage.xaml.cs
/// <summary>
/// Invoked when this page is about to be displayed in a Frame.
/// </summary>
/// <param name="e">Event data that describes how this page was reached.
/// This parameter is typically used to configure the page.</param>
Invoked when this page is about to be displayed in a Frame.
Invoked when this page is about to be displayed in a Frame .
protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            SuspensionManager.RegisterFrame(ScenarioFrame, "scenarioFrame");
            if (ScenarioFrame.Content == null)
            {
                if (!ScenarioFrame.Navigate(typeof(Views.HealthView)))
                {
                    throw new Exception("Failed to create scenario list");
                }
            }
        }
protected override void OnNavigatedTo ( NavigationEventArgs e ) { SuspensionManager . RegisterFrame ( ScenarioFrame , " " ) ; if ( ScenarioFrame . Content == null ) { if ( ! ScenarioFrame . Navigate ( typeof ( Views . HealthView ) ) ) { throw new Exception ( " " ) ; } } }
Invoked when this page is about to be displayed in a Frame.
Invoked when this page is about to be displayed in a Frame .
// When the navigation stack isn't restored navigate to the ScenarioList
e
NavigationEventArgs
Event data that describes how this page was reached.
This parameter is typically used to configure the page.
Event data that describes how this page was reached . This parameter is typically used to configure the page .