Exemplo n.º 1
0
/*
 *      DO NOT ALTER
 *
 *
 */


        private void Thumbnail_MouseDown(object sender, MouseButtonEventArgs e)
        {
            NetflixMain   netflixMain = new NetflixMain();
            MoviePlayBack playback    = new MoviePlayBack();
            MoreInfoIcon  thumbnail   = (MoreInfoIcon)sender;

            netflixMain.MoviePoster.Source    = thumbnail.Icon.Source;
            netflixMain.MovieDescription.Text = thumbnail.Description;
            netflixMain.Title         = thumbnail.ButtonLabel.Content.ToString();
            netflixMain.MoreLike.Text = "More Like: " + thumbnail.ButtonLabel.Content.ToString();
            netflixMain.favouriteButtonCheck();

            playback.Movieplay.Source = thumbnail.Icon.Source;


            //netflixMain.Title = (sender as MoreInfoIcon).Title;
            //netflixMain.image.Source = (sender as MoreInfoIcon).Image.Source;

            Navigation.NavigateTo(netflixMain);
        }
Exemplo n.º 2
0
        private void PlayButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            MoviePlayBack playback = new MoviePlayBack();

            Navigation.NavigateTo(playback);
        }