Esempio n. 1
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     base.OnNavigatedTo(e);
     mainPage = e.Parameter as MainPage;
     mainPage.InitCollectionFinished += InitCollectionFinishedHandler;
     this.NavigationCacheMode         = NavigationCacheMode.Disabled;
     QuoteFadeIn.Begin();
     timeStartShowing = DateTimeOffset.Now.TimeOfDay;
 }
Esempio n. 2
0
 protected async override void OnNavigatedTo(NavigationEventArgs e)
 {
     try
     {
         base.OnNavigatedTo(e);
         mainPage = e.Parameter as MainPage;
         mainPage.InitCollectionFinished += InitCollectionFinishedHandler;
         this.NavigationCacheMode         = NavigationCacheMode.Disabled;
         QuoteFadeIn.Begin();
         timeStartShowing = DateTimeOffset.Now.TimeOfDay;
     }
     catch (Exception ex)
     {
         await UIHelper.ShowMessageDialog(ex.Message, "Failed to navigate to FirstPage");
     }
 }