コード例 #1
0
 /// <summary>
 /// An event handler called when the user selects to view video web information page.
 /// </summary>
 /// <param name="sender">The sender object.</param>
 /// <param name="e">The event arguments.</param>
 private void OnYouTubeWebVideoOpened(object sender, VideoEventArgs e)
 {
     this.sideMenu.SelectedItem = this.sideMenuItemYouTube;
     this.controlSideYouTube.SelectedNode = this.treeNodeYouTubeWebVideos;
     this.controlYtWebStatistics.View(e.Video.Id);
 }
コード例 #2
0
 /// <summary>
 /// An event handler called when the user selects to view response videos in APIv2 page.
 /// </summary>
 /// <param name="sender">The sender object.</param>
 /// <param name="e">The event arguments.</param>
 private void OnYouTubeApiV2ResponseVideosOpened(object sender, VideoEventArgs e)
 {
     this.sideMenu.SelectedItem = this.sideMenuItemYouTube;
     this.controlSideYouTube.SelectedNode = this.treeNodeYouTubeApi2ResponseVideosFeed;
     this.controlYtApi2ResponseFeed.View(e.Video.Id);
 }
コード例 #3
0
 /// <summary>
 /// An event handler called when the user selects to view video in APIv2 page.
 /// </summary>
 /// <param name="sender">The sender object.</param>
 /// <param name="e">The event arguments.</param>
 private void OnYouTubeApiV2VideoOpened(object sender, VideoEventArgs e)
 {
     this.sideMenu.SelectedItem = this.sideMenuItemYouTube;
     this.controlSideYouTube.SelectedNode = this.treeNodeYouTubeApi2Video;
     this.controlYtApi2Video.Open(e.Video);
 }