예제 #1
0
 public frmRptDesign(RptCommonBase RptCommon)
 {
     InitializeComponent();
     this.StartPosition = FormStartPosition.CenterParent;
     report1.Load(RptCommon.RptFileName);
     designerControl1.Report = report1;
 }
예제 #2
0
        public static void ShowForm(RptCommonBase rpt)
        {
            frmRptPreview previewForm = new frmRptPreview(rpt);

            previewForm.init();
            previewForm.Preview();
            previewForm.ShowDialog();
        }
예제 #3
0
 private frmRptPreview(RptCommonBase rpt)
 {
     FastReport.Utils.Res.LoadLocale(Path.GetDirectoryName(typeof(Report).Assembly.Location) + @"\Localization\Chinese (Simplified).frl");
     InitializeComponent();
     //this.WindowState = FormWindowState.Maximized;
     this.StartPosition = FormStartPosition.CenterParent;
     this.rpt           = rpt;
     //previewControl1.Report.Export()
     //FastReport.Export.OoXML.Excel2007Export
 }