private void button1_Click(object sender, System.EventArgs e) { SetCurrentVideo(VideoList.GetVideo(Counter.GetCounter())); if (Counter.GetCounter() == 5) { button2.Show(); } Counter.HitCounter(); }
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(); }
private void SetupWebBrowser() { this.SetCurrentVideo(VideoList.GetVideo(Counter.GetCounter())); Counter.HitCounter(); }