public PrinterThuChi(int thuchiID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli) { mThuChiID = thuchiID; mBOMayIn = mayin; mBOXuliMayIn = xuli; mPOSPrinter = new POSPrinter(); mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn); mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage); mPrinterFont = new PrinterFont(mBOXuliMayIn); }
public PrinterThuChi(int thuchiID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli) { mThuChiID = thuchiID; mBOMayIn = mayin; mBOXuliMayIn = xuli; mPOSPrinter = new POSPrinter(); mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn); mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage); mPrinterFont = new PrinterFont(mBOXuliMayIn); }
public PrinterReportDaily(DateTime dtFrom,DateTime dtTo,Data.BOMayIn mayin,Data.BOXuliMayIn xuli) { mDateTimeFrom = dtFrom; mDateTimeTo = dtTo; mBOMayIn = mayin; mBOXuliMayIn = xuli; mPOSPrinter = new POSPrinter(); mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn); mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage); mPrinterFont = new PrinterFont(mBOXuliMayIn); }
public PrinterReportDaily(DateTime dtFrom, DateTime dtTo, Data.BOMayIn mayin, Data.BOXuliMayIn xuli) { mDateTimeFrom = dtFrom; mDateTimeTo = dtTo; mBOMayIn = mayin; mBOXuliMayIn = xuli; mPOSPrinter = new POSPrinter(); mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn); mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(mPOSPrinter_PrintPage); mPrinterFont = new PrinterFont(mBOXuliMayIn); }
public PrinterBillOrder(PrinterBillOrderType type, int banHangID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli) { mBOMayIn = mayin; mBOXuliMayIn = xuli; mBanHangID = banHangID; mPrinterBillOrderType = type; mPrinterFont = new PrinterFont(mBOXuliMayIn); mColorBlack = System.Drawing.Color.Black; mPOSPrinter = new POSPrinter(); mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn); mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(PrinterData_PrintPage); }
public PrinterBillOrder(PrinterBillOrderType type, int banHangID, Data.BOMayIn mayin, Data.BOXuliMayIn xuli) { mBOMayIn = mayin; mBOXuliMayIn = xuli; mBanHangID = banHangID; mPrinterBillOrderType = type; mPrinterFont = new PrinterFont(mBOXuliMayIn); mColorBlack = System.Drawing.Color.Black; mPOSPrinter = new POSPrinter(); mPOSPrinter.POSSetPrinterName(mBOMayIn.TenMayIn); mPOSPrinter.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(PrinterData_PrintPage); }