void HienThiMaThietBi()
        {
            List <ThietBi> dsThietBi = tbbus.DanhSachThietBi();
            string         line;

            foreach (var item in dsThietBi)
            {
                line = item.Mathietbi;
                cbMaTB.Items.Add(line);
            }
        }
Exemple #2
0
 void DanhSachThietBi()
 {
     dgvThietBi.DataSource = tbBus.DanhSachThietBi();
 }