예제 #1
0
		public void NavigateToSecondPageTVShows(MEItemTVShow tvshow)
		{
			if (!this.Frame.CanGoBack)
			{
				SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =
							AppViewBackButtonVisibility.Visible;
				SystemNavigationManager.GetForCurrentView().BackRequested += GoBack_event;
			}

			this.onNavigated = (e) =>
			{
				var vm = (VMSecondPageTVShow)(e.Content as SecondPageTVShows).DataContext;
				vm.TVShow = tvshow;
			};

			this.Frame.Navigated += RootFrame_Navigated;
			this.Frame.Navigate(typeof(SecondPageTVShows));
		}
예제 #2
0
		internal void didClickTVShow(MEItemTVShow sender)
		{
			if (sender != null)
			{
				navigationService.NavigateToSecondPageTVShows(sender);
			}
		}