public FrmSuDungDichVu() { InitializeComponent(); blBan = new BL_Ban(this); blHoaDon = new BL_HoaDon(this); blLoaiThucPham = new BL_LoaiThucPham(this); }
/// <summary> /// Tạo ra form hóa đơn và mang theo id_hoadon /// </summary> /// <param name="id"></param> public FrmHoaDon(int id, bool ketThuc) { InitializeComponent(); idHoaDon = id; this.ketThuc = ketThuc; blHoaDon = new BL_HoaDon(this); blBan = new BL_Ban(this); }
public FrmDoiSoLuong(string idThucPham, string soluong, int idHoaDon) { InitializeComponent(); this.idThucPham = Convert.ToInt32(idThucPham); this.soluong = Convert.ToInt32(soluong); this.idHoaDon = idHoaDon; blHoaDon = new BL_HoaDon(this); }
/// <summary> /// Tạo hàm dựng cho form Sử dụng dịch vụ với tham số là quyền truyền vào /// </summary> /// <param name="quyen"></param> public FrmSuDungDichVu(int quyen) { InitializeComponent(); blBan = new BL_Ban(this); blHoaDon = new BL_HoaDon(this); blLoaiThucPham = new BL_LoaiThucPham(this); blThucPham = new BL_ThucPham(this); blNhanVien = new BL_NhanVien(this); blKhachHang = new BL_KhachHang(this); blKhuyenMai = new BL_KhuyenMai(this); this.quyen = quyen; }
public FrmThanhToan() { InitializeComponent(); blHoaDon = new BL_HoaDon(this); }