예제 #1
0
 public ucInvoices()
 {
     InitializeComponent();
     invoiceBusiness   = new InvoiceBusiness();
     hoaDon            = new HoaDon();
     listofProBusiness = new ListofProBusiness();
     chiTietHoaDon     = new ChiTietHoaDon();
     productBusiness   = new ProductBusiness();
     product           = new ProductModel();
 }
예제 #2
0
 public formCart(DataTable dt)
 {
     InitializeComponent();
     this.dt           = dt;
     product           = new ProductModel();
     productBusiness   = new ProductBusiness();
     invoiceBusiness   = new InvoiceBusiness();
     hoaDon            = new HoaDon();
     listofProBusiness = new ListofProBusiness();
     chiTietHoaDon     = new ChiTietHoaDon();
 }