Beispiel #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            RptTscCita rpt = new RptTscCita();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
 private void mnuPantalla_Click(object sender, EventArgs e)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         RptTscCita rpt = new RptTscCita();
         //rpt.SetDataSource(dsNeo);
         FrmRpt frm = new FrmRpt();
         //frm.crv.ReportSource = rpt;
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, Utilidad.nombrePrograma, MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }