Exemplo n.º 1
0
        private void button_trailer(object sender, EventArgs e)
        {
            PlayMovie trailer = new PlayMovie();

            trailer.axWindowsMediaPlayer.URL = UrlTrailer;
            trailer.label_Title.Text         = "Trailer: " + MovieTitle;
            trailer.Show();
        }
Exemplo n.º 2
0
 private void button_watch(object sender, EventArgs e)
 {
     if (Session.IsSession == false)
     {
         Subscribe subscribe = new Subscribe();
         subscribe.Show();
     }
     else if (Session.IsSession == true)
     {
         PlayMovie playMovie = new PlayMovie();
         playMovie.axWindowsMediaPlayer.URL = UrlFullMovie;
         playMovie.label_Title.Text         = "Streming Movie: " + MovieTitle;
         playMovie.Show();
     }
 }