public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ReporteEntradaProductos rpt = new ReporteEntradaProductos();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
 private void InitializeComponent()
 {
     this.crystalReportViewer1     = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.ReporteEntradaProductos1 = new capaPresentacion.Formularios.ReporteEntradaProductos();
     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.ReporteEntradaProductos1;
     this.crystalReportViewer1.Size            = new System.Drawing.Size(1234, 611);
     this.crystalReportViewer1.TabIndex        = 0;
     this.crystalReportViewer1.Load           += new System.EventHandler(this.crystalReportViewer1_Load);
     //
     // frmReporteEntradaProductos
     //
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(1234, 611);
     this.Controls.Add(this.crystalReportViewer1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "frmReporteEntradaProductos";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }