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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
 public rptseeproductsinternal(DataTable ds)
 {
     InitializeComponent();
     this.Text          = "Vista de Impresion";
     this.myrpt         = new rptproductos1();
     this.dt            = ds;
     this.ShowInTaskbar = false;
     this.FormClosed   += (sender, args) => { this.myrpt.Close(); this.myrpt.Dispose(); };
     this.MinimizeBox   = false;
     this.MaximizeBox   = true;
 }