Example #1
0
        public void LoadLoaiThucPham()
        {
            List <LoaiThucPham> lst = daLoaiThucPham.getDuLieu();

            foreach (LoaiThucPham food in lst)
            {
                frmSuDungDichVu.treeView1.Nodes.Add(food.id.ToString(), food.tenloai);
                frmSuDungDichVu.treeView1.NodeMouseClick += TreeView1_NodeMouseClick;
                frmSuDungDichVu.treeView1.Tag             = food;
            }
        }
Example #2
0
 public List <LoaiThucPham> LoadLoaiThucPham()
 {
     return(daLoaiThucPham.getDuLieu());
 }