public void load3()
        {
            try
            {
                flowLayoutPanel1.Controls.Clear();
                bool colorFlag = false;


                tblHoaDon           h     = hd.getMaHDTheoBan(ca.getMaBan());
                List <tblChiTietHD> lstCT = (List <tblChiTietHD>)ct.getCTByMaHD(h.MaHD);
                for (int i = 0; i < lstCT.Count; i++)
                {
                    DoUongGioHang_Item_Temp item;
                    item      = new DoUongGioHang_Item_Temp(lstCT[i].tblThucDon.TenMon, lstCT[i].SoLuong, double.Parse(lstCT[i].tblThucDon.DonGia), colorFlag, lstCT[i].MaMon);
                    item.Dock = DockStyle.Top;
                    flowLayoutPanel1.Controls.Add(item);
                }

                List <Item> lstCart = ca.getCart2();
                for (int i = 0; i < lstCart.Count; i++)
                {
                    DoUongGioHang_Item_Temp item;
                    item      = new DoUongGioHang_Item_Temp(lstCart[i].tenMon, lstCart[i].sl, lstCart[i].donGia, colorFlag, lstCart[i].maMon);
                    item.Dock = DockStyle.Top;
                    flowLayoutPanel1.Controls.Add(item);
                }
            }
            catch (Exception ee)
            { }
        }
 public void load1()
 {
     try
     {
         flowLayoutPanel1.Controls.Clear();
         bool        colorFlag = false;
         List <Item> lstCart   = ca.getCart();
         for (int i = 0; i < lstCart.Count; i++)
         {
             DoUongGioHang_Item_Temp item;
             item      = new DoUongGioHang_Item_Temp(lstCart[i].tenMon, lstCart[i].sl, lstCart[i].donGia, colorFlag, lstCart[i].maMon);
             item.Dock = DockStyle.Top;
             flowLayoutPanel1.Controls.Add(item);
         }
     }
     catch (Exception ee)
     { }
 }