private void getMovies(string search) { frmMovieList myMovieList = new frmMovieList(); myMovieList.SearchString = search; if (myMovieList.ShowDialog() == DialogResult.OK) { if (myMovieList.selectedMovie.Posters.Count > 0) { frmCoverList myCoverList = new frmCoverList(); myCoverList.selectedMovie = myMovieList.selectedMovie; if (myCoverList.ShowDialog() == DialogResult.OK) { myCoverList.selectedMovie.SelectedCover = myCoverList.selectedCover; if (TvixInfo.UseFanart) { frmFanartList myFanartList = new frmFanartList(); myFanartList.selectedMovie = myCoverList.selectedMovie; if (myFanartList.ShowDialog() == DialogResult.OK) { } } UpdateMovieBackground(myCoverList.selectedMovie); } myCoverList.Dispose(); } else { MovieProvider provider = TvixInfo.MovieProvider; provider.Language = TvixInfo.Language; provider.GetData(myMovieList.selectedMovie); myMovieList.selectedMovie.Cover = p_theme[ItemType.VideoCover].Background.Image; p_theme[ItemType.VideoBox].Background.Image = myMovieList.selectedMovie.Cover; p_theme.ApplyBackgroundVideo(myMovieList.selectedMovie, CurrentFolderPath); if (TvixInfo.AutoRenameMovie) { RenameMovie(myMovieList.selectedMovie.Title); } coverPic.Image = p_theme[ItemType.VideoBox]; //BackgroundBigPic.Image loadFolderPic(CurrentFolderPath); loadBackgroundPic(CurrentFolderPath); provider.Dispose(); } } myMovieList.Dispose(); }