/// <summary> /// Handles the GalleryChanged event of the TvDBFactory control. /// </summary> /// <param name="sender"> /// The source of the event. /// </param> /// <param name="e"> /// The <see cref="System.EventArgs"/> instance containing the event data. /// </param> private void TvDBFactory_GalleryChanged(object sender, EventArgs e) { tabBanner.Text = string.Format("Banner ({0})", this.galleryBanners.Gallery.Groups.Count); this.galleryBanners.Gallery.Groups.Clear(); this.galleryBanners.Gallery.Groups.Add(TvDBFactory.GetGalleryGroup()); this.galleryBanners.Gallery.ItemClick += this.Gallery_ItemClick; }
/// <summary> /// Handles the GalleryChanged event of the TvDBFactory control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void TvDBFactory_GalleryChanged(object sender, EventArgs e) { this.galleryBanners.Gallery.Groups.Clear(); this.galleryBanners.Gallery.Groups.Add(TvDBFactory.GetGalleryGroup()); this.galleryBanners.Gallery.ItemClick += this.Gallery_ItemClick; }