예제 #1
0
        private void Overlay_Click(object sender, RoutedEventArgs e)
        {
            NetflixMain netflixMain = new NetflixMain();

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

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

            Navigation.NavigateTo(netflixMain);
        }
예제 #2
0
        private void NewIcon_MouseDown(object sender, MouseButtonEventArgs e)
        {
            NetflixMain  netflixMain = new NetflixMain();
            MoreInfoIcon thumbnail   = (MoreInfoIcon)sender;

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

            netflixMain.favouriteButtonCheck();
            Navigation.NavigateTo(netflixMain);
        }
예제 #3
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);
        }