protected override async void OnNavigatedTo(NavigationEventArgs e) { video = (MainPage.Video)e.Parameter; videosTitle.Text = video.Title; try { await LoadPage(); } catch (AggregateException ex) { MessageDialog m = new MessageDialog("Could play video: " + ex.Message, "WinBeta Videos Error"); await m.ShowAsync(); } }
protected override async void OnNavigatedTo(NavigationEventArgs e) { video = (MainPage.Video)e.Parameter; videosTitle.Text = video.Title; try { await LoadPage(); } catch (AggregateException ex) { MessageDialog m = new MessageDialog("Could play video: " + ex.Message, "WinBeta Videos Error"); await m.ShowAsync(); } }