コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptDAD_imp rpt = new rptDAD_imp();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
 private void InitializeComponent()
 {
     this.crystalReportViewer1 = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.rptDAD_imp1          = new PrototipoSeguridad.rptDAD_imp();
     this.SuspendLayout();
     //
     // crystalReportViewer1
     //
     this.crystalReportViewer1.ActiveViewIndex = 0;
     this.crystalReportViewer1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.crystalReportViewer1.Cursor          = System.Windows.Forms.Cursors.Default;
     this.crystalReportViewer1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.crystalReportViewer1.Location        = new System.Drawing.Point(0, 0);
     this.crystalReportViewer1.Name            = "crystalReportViewer1";
     this.crystalReportViewer1.ReportSource    = this.rptDAD_imp1;
     this.crystalReportViewer1.Size            = new System.Drawing.Size(284, 261);
     this.crystalReportViewer1.TabIndex        = 0;
     //
     // ReporteDAD_idimp
     //
     this.ClientSize = new System.Drawing.Size(284, 261);
     this.Controls.Add(this.crystalReportViewer1);
     this.Name          = "ReporteDAD_idimp";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.ResumeLayout(false);
 }