/// <summary>
        /// Handles the ItemClick event of the btnGetImageFromDisk control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="DevExpress.XtraBars.ItemClickEventArgs"/> instance containing the event data.</param>
        private void BtnGetImageFromDisk_ItemClick(object sender, ItemClickEventArgs e)
        {
            var dialog = new OpenFileDialog {
                Filter = @"Jpg (*.jpg)|*.jpg|All Files (*.*)|*.*"
            };

            const string Title = "Select {0} image from disk";

            switch (this.galleryType)
            {
            case GalleryType.MovieFanart:
                dialog.Title = string.Format(Title, "movie fanart");
                break;

            case GalleryType.MoviePoster:
                dialog.Title = string.Format(Title, "movie poster");
                break;

            case GalleryType.TvSeriesBanner:
                dialog.Title = string.Format(Title, "tv series banner");
                break;

            case GalleryType.TvSeriesPoster:
                dialog.Title = string.Format(Title, "tv series poster");
                break;

            case GalleryType.TvSeriesFanart:
                dialog.Title = string.Format(Title, "tv series fanart");
                break;

            case GalleryType.TvSeasonPoster:
                dialog.Title = string.Format(Title, "tv season poster");
                break;

            case GalleryType.TvSeasonFanart:
                dialog.Title = string.Format(Title, "tv season fanart");
                break;

            case GalleryType.TvSeasonBanner:
                dialog.Title = string.Format(Title, "tv series banner");
                break;

            case GalleryType.TvEpisodeScreenshot:
                dialog.Title = string.Format(Title, "tv episode screenshot");
                break;
            }

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                switch (this.galleryType)
                {
                case GalleryType.MovieFanart:
                    MovieDBFactory.GetCurrentMovie().FanartPathOnDisk = dialog.FileName;
                    MovieDBFactory.InvokeFanartLoaded(new EventArgs());
                    break;

                case GalleryType.MoviePoster:
                    MovieDBFactory.GetCurrentMovie().PosterPathOnDisk = dialog.FileName;
                    MovieDBFactory.InvokePosterLoaded(new EventArgs());
                    break;

                case GalleryType.TvSeriesBanner:
                    TvDBFactory.CurrentSeries.SeriesBannerUrl = dialog.FileName;
                    TvDBFactory.InvokeSeriesBannerLoaded(new EventArgs());
                    break;

                case GalleryType.TvSeriesPoster:
                    TvDBFactory.CurrentSeries.PosterUrl = dialog.FileName;
                    TvDBFactory.InvokeSeriesPosterLoaded(new EventArgs());
                    break;

                case GalleryType.TvSeriesFanart:
                    TvDBFactory.CurrentSeries.FanartUrl = dialog.FileName;
                    TvDBFactory.InvokeSeriesFanartLoaded(new EventArgs());
                    break;

                case GalleryType.TvSeasonBanner:
                    TvDBFactory.CurrentSeason.BannerUrl = dialog.FileName;
                    TvDBFactory.InvokeSeasonBannerLoaded(new EventArgs());
                    break;

                case GalleryType.TvSeasonFanart:
                    TvDBFactory.CurrentSeason.FanartUrl = dialog.FileName;
                    TvDBFactory.InvokeSeasonFanartLoaded(new EventArgs());
                    break;

                case GalleryType.TvSeasonPoster:
                    TvDBFactory.CurrentSeason.PosterUrl = dialog.FileName;
                    TvDBFactory.InvokeSeasonPosterLoaded(new EventArgs());
                    break;

                case GalleryType.TvEpisodeScreenshot:
                    TvDBFactory.CurrentEpisode.EpisodeScreenshotUrl = dialog.FileName;
                    TvDBFactory.InvokeEpisodeLoaded(new EventArgs());
                    break;
                }
            }
        }