Exemplo n.º 1
0
 private void InHoaDonThread(int lichSuBanHang)
 {
     lock (mXuliMayIn)
     {
         var list = mXuliMayIn.AllPrinting(lichSuBanHang).ToList();
         foreach (var item in list)
         {
             PrinterSendOrder mayInHoaDon = new PrinterSendOrder(lichSuBanHang, item, mXuliMayIn);
             mayInHoaDon.Print();
         }
     }
 }
Exemplo n.º 2
0
 private void InHoaDonThread(int lichSuBanHang)
 {
     lock (mXuliMayIn)
     {
         var list = mXuliMayIn.AllPrinting(lichSuBanHang).ToList();
         foreach (var item in list)
         {
             PrinterSendOrder mayInHoaDon = new PrinterSendOrder(lichSuBanHang, item, mXuliMayIn);
             mayInHoaDon.Print();
         }
     }
 }