private void NewDesign(xReport rpt)
 {
     xrDesignPanel1.FileName = string.Empty;
     rpt.Bands.Clear();
     rpt.Bands.Add(XtraReport.CreateBand(BandKind.Detail));
     xrDesignPanel1.OpenReport(rpt);
     xrDesignPanel1.Report.ScriptReferences = new string[] { GetType().Assembly.Location };
     xrDesignPanel1.ReportState             = ReportState.Opened;
 }
Beispiel #2
0
 private void NewDesign(xReport rpt)
 {
     xrDesignPanel1.FileName = string.Empty;
     rpt.Bands.Clear();
     rpt.Bands.Add(XtraReport.CreateBand(BandKind.Detail));
     xrDesignPanel1.OpenReport(rpt);
     xrDesignPanel1.Report.ScriptReferences = new string[] { GetType().Assembly.Location };
     xrDesignPanel1.ReportState             = ReportState.Opened;
     OriginalPrintControl = BaseWinFramework.mdiRibbonPrintController.PrintControl;
 }