Exemple #1
0
 private void button1_Click(object sender, System.EventArgs e)
 {
     SetCurrentVideo(VideoList.GetVideo(Counter.GetCounter()));
     if (Counter.GetCounter() == 5)
     {
         button2.Show();
     }
     Counter.HitCounter();
 }
Exemple #2
0
        private void button2_Click(object sender, System.EventArgs e)
        {
            var videos = this.backendDomain.GetVideos(true, VideoSearchConstants.GetRandomQuery()) as List <VideoDatabaseResposne>;

            Counter.setSize(videos.Count);
            VideoList.SetVideos(videos);
            this.SetCurrentVideo(VideoList.GetVideo(Counter.GetCounter()));
            Counter.HitCounter();
            button2.Hide();
        }
Exemple #3
0
 private void SetupWebBrowser()
 {
     this.SetCurrentVideo(VideoList.GetVideo(Counter.GetCounter()));
     Counter.HitCounter();
 }