コード例 #1
0
        private async void GetData_Click(object sender, EventArgs e)
        {
            try
            {
                var Data = await _GetCovid.GetData((string)CountryList.SelectedValue);

                BinData.Add(Data);

                DataBox.DataSource = BinData;
                DataBox.Update();
                DataBox.Refresh();
            }//end try
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }//end catch
        }