예제 #1
0
        private void imprimirUltimoTicketToolStripMenuItem_Click(object sender, EventArgs e)
        {
            IVenta _venta       = new LVenta();
            var    ultimoTicket = _venta.GetUltimoTicket(ref result);

            Impresion imp = new Impresion();

            imp.Run(ultimoTicket, true);
        }
예제 #2
0
파일: Productos.cs 프로젝트: herrerabc/TPV
        private void btnQD_Click(object sender, EventArgs e)
        {
            Impresion          imp    = new Impresion();
            ETransactionResult result = new ETransactionResult();
            Eproductos         item   = new Eproductos()
            {
                idProducto = int.Parse(txtIdProd.Text.Trim())
            };

            item = (Eproductos)_productos.Get(item, ref result);

            imp.ImpQrProd(item);
        }
예제 #3
0
        private void PrintReport(EImpresion item)
        {
            Impresion imp = new Impresion();

            imp.Run(item, false);
        }