Exemplo n.º 1
0
 private void InPhieuThuChiThread(int thuchiID)
 {
     lock (mXuliMayIn)
     {
         var list = mXuliMayIn.AllPrintingBill().ToList();
         foreach (var item in list)
         {
             PrinterThuChi mayin = new PrinterThuChi(thuchiID, item, mXuliMayIn);
             mayin.Print();
         }
     }
 }
Exemplo n.º 2
0
 private void InPhieuThuChiThread(int thuchiID)
 {
     lock (mXuliMayIn)
     {
         var list = mXuliMayIn.AllPrintingBill().ToList();
         foreach (var item in list)
         {
             PrinterThuChi mayin = new PrinterThuChi(thuchiID, item, mXuliMayIn);
             mayin.Print();
         }
     }
 }