示例#1
0
        private void TambahJadwalAsisten_Load(object sender, EventArgs e)
        {
            var service   = new IadmClient();
            var asisten   = service.getStaffID().ToList();
            var praktikum = service.GetMatKul().ToList();

            for (var i = 0; i < asisten.Count(); i++)
            {
                comboBoxEdit1.Properties.Items.Add(asisten[i].id_staff);
            }
            for (var i = 0; i < praktikum.Count(); i++)
            {
                comboBoxEdit4.Properties.Items.Add(praktikum[i].mata_kuliah);
            }
        }