private void LoadSeries(int _seriesId) { TvdbSeries series = null; try { series = m_tvdbHandler.GetSeries(_seriesId, m_currentLanguage, cbLoadFull.Checked, cbLoadActors.Checked, cbLoadBanner.Checked, cbUseZipped.Checked); } catch (TvdbInvalidApiKeyException ex) { MessageBox.Show(ex.Message); } catch (TvdbNotAvailableException ex) { MessageBox.Show(ex.Message); } if (series != null) { CleanUpForm(); tabControlTvdb.SelectedTab = tabSeries; UpdateSeries(series); } }
private void cmdTest1_Click(object sender, EventArgs e) { TvdbSeries s = m_tvdbHandler.GetSeries(73255, TvdbLanguage.DefaultLanguage, true, true, true); if (s.TvdbActorsLoaded) { List <TvdbBanner> bannerList = new List <TvdbBanner>(); foreach (TvdbActor a in s.TvdbActors) { bannerList.Add(a.ActorImage); } bcActors.BannerImages = bannerList; } }