Exemple #1
0
        // metodo para visualizar el reporte
        private void btnVerReporte_Click(object sender, EventArgs e)
        {
            iIDApp = controlReportes.obtenerIDApp(iIDAux);
            frmReporteadorNavegador reporteadorNavegador = new frmReporteadorNavegador(iIDApp);

            reporteadorNavegador.Show();
            if (!reporteadorNavegador.IsDisposed)
            {
                BloquearBotones();
            }
        }
 private void btnImprimir_Click(object sender, EventArgs e)
 {
     //abre la DLL de Reporteador
     try
     {
         if (reporte == null)
         {
             reporte             = new frmReporteadorNavegador(aplicacion);
             reporte.MdiParent   = MDIformulario;
             reporte.FormClosed += (o, args) => reporte = null;
         }
         reporte.Show();
         reporte.BringToFront();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Verifique que si tiene instalado el software necesario para utilizar esta aplicacion", "Informacion", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }