public FrmSuDungDichVu()
 {
     InitializeComponent();
     blBan          = new BL_Ban(this);
     blHoaDon       = new BL_HoaDon(this);
     blLoaiThucPham = new BL_LoaiThucPham(this);
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 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);
 }
예제 #4
0
 /// <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;
 }
예제 #5
0
 public FrmThanhToan()
 {
     InitializeComponent();
     blHoaDon = new BL_HoaDon(this);
 }