Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Dictionary <int, TvdbRating> ratingList = m_tvdbHandler.GetRatingsForSeries(Int32.Parse(txtSeriesRatingsId.Text));

            if (ratingList != null)
            {
                lvSeries.Items.Clear();
                foreach (KeyValuePair <int, TvdbRating> r in ratingList)
                {
                    lvSeries.Items.Add(CreateItem(r.Value.RatingItemType.ToString() + ": " + r.Key.ToString(), "Community: " + r.Value.CommunityRating + ", User: "******"Nothing returned");
            }
        }