Exemple #1
0
        private void btnComprobante_Click_1(object sender, EventArgs e)
        {
            FrmReporteFactura frm = new FrmReporteFactura();

            frm.IdVenta = Convert.ToInt32(this.dataListado.CurrentRow.Cells["idventa"].Value);
            frm.ShowDialog();
        }
Exemple #2
0
        private void pVoucher_Click(object sender, EventArgs e)
        {
            FrmReporteFactura frm = new FrmReporteFactura();

            frm.Cod_venta = Convert.ToInt32(this.dataListado.CurrentRow.Cells["cod_venta"].Value);
            frm.ShowDialog();
        }
        private void btnImprimir_Click(object sender, EventArgs e)
        {
            FrmReporteFactura Factura = new FrmReporteFactura();

            Factura.IdVenta = Convert.ToInt32(DataListado.CurrentRow.Cells[0].Value);
            Factura.ShowDialog();
        }
Exemple #4
0
 private void btnComprobante_Click(object sender, EventArgs e)
 {
     if (Convert.ToString(this.dataListado.CurrentRow.Cells["tipo_comprobante"].Value).Equals("TICKET"))
     {
         Reportes.FrmComprobanteTicket frm = new Reportes.FrmComprobanteTicket();
         frm.Idventa = Convert.ToInt32(this.dataListado.CurrentRow.Cells["idventa"].Value);
         frm.ShowDialog();
     }
     else
     {
         FrmReporteFactura frm = new FrmReporteFactura();
         frm.Idventa = Convert.ToInt32(this.dataListado.CurrentRow.Cells["idventa"].Value);
         frm.ShowDialog();
     }
 }
Exemple #5
0
        private void btnComprobante_Click_1(object sender, EventArgs e)
        {
            FrmReporteFactura frm = new FrmReporteFactura();

            frm.IdVenta = Convert.ToInt32(this.dataListado.CurrentRow.Cells["idventa"].Value);
            frm.ShowDialog();
        }