Esempio n. 1
0
        private async void button1_Click(object sender, EventArgs e)
        {
            string seriesName = "Shameless";
            var    helper     = new tvDbHelper();
            var    result     = await helper.GetTvShowsByNameAsync(seriesName);

            popListBox(result, 0);
        }
Esempio n. 2
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     if (helper.IsNumeric(tbTvdbId.Text))
     {
         var helper = new tvDbHelper();
         var result = helper.GetTvShowsByTvDbIdAsync(Convert.ToInt32(tbTvdbId));
         lbTvShows.DataSource = result;
     }
 }