public ProcessOrder(Data.Transit transit)
 {
     mTransit = transit;            
     mKaraokeEntities = new Data.KaraokeEntities();
     mPriceManager = new PriceManager(mTransit,mKaraokeEntities);
     mBOMenuGia = new Data.BOMenuGia(mTransit);
     mBanHang = new Data.BOBanHang(mTransit,mKaraokeEntities);
     //mBOQuanLyKho = new Data.BOQuanLyKho(mTransit);
     mBanHang.LoadBanHang();
     mProcessPrinter = new PrinterServer.ProcessPrinter(mTransit);
 }
Exemple #2
0
 public ProcessOrder(Data.Transit transit)
 {
     mTransit         = transit;
     mKaraokeEntities = new Data.KaraokeEntities();
     mPriceManager    = new PriceManager(mTransit, mKaraokeEntities);
     mBOMenuGia       = new Data.BOMenuGia(mTransit);
     mBanHang         = new Data.BOBanHang(mTransit, mKaraokeEntities);
     //mBOQuanLyKho = new Data.BOQuanLyKho(mTransit);
     mBanHang.LoadBanHang();
     mProcessPrinter = new PrinterServer.ProcessPrinter(mTransit);
 }
 public Data.BOBanHang GetBanHang(BAN ban)
 {
     Data.BOBanHang banhang = new Data.BOBanHang(mTransit,mKaraokeEntities);            
     banhang.LoadBanHang(ban);
     return banhang;
 }
Exemple #4
0
 public Data.BOBanHang GetBanHang(BAN ban)
 {
     Data.BOBanHang banhang = new Data.BOBanHang(mTransit, mKaraokeEntities);
     banhang.LoadBanHang(ban);
     return(banhang);
 }