Exemple #1
0
        private void cmdForceUpdate_Click(object sender, EventArgs e)
        {
            TvdbSeries series = null;

            try
            {
                series = m_tvdbHandler.ForceReload(m_currentSeries, cbLoadFull.Checked,
                                                   cbLoadActors.Checked, cbLoadBanner.Checked);
            }
            catch (TvdbInvalidApiKeyException ex)
            {
                MessageBox.Show(ex.Message);
            }
            catch (TvdbNotAvailableException ex)
            {
                MessageBox.Show(ex.Message);
            }
            if (series != null)
            {
                m_currentSeries = series;
                UpdateSeries(m_currentSeries);
            }
        }