Esempio n. 1
0
 private void cmdAddRemoveFavorites_Click(object sender, EventArgs e)
 {
     if (m_currentSeries != null && !m_currentSeries.IsFavorite)
     {
         m_tvdbHandler.AddSeriesToFavorites(m_currentSeries.Id);
     }
     else
     {
         m_tvdbHandler.RemoveSeriesFromFavorites(m_currentSeries.Id);
     }
     cmdAddRemoveFavorites.Text = m_currentSeries.IsFavorite ? "Remove from favorites" : "Add to favorites";
 }