コード例 #1
0
        private async void LopForm_Load(object sender, EventArgs e)
        {
            chuyenNganhs = await apis.GetChuyenNganhs();

            cns = new List <string>();
            chuyenNganhs.ForEach(element =>
            {
                cns.Add(element.Ten);
            });
            cbxChuyenNganh.DataSource = cns;
            await loadData();
        }