Exemplo n.º 1
0
        private void button9_Click(object sender, EventArgs e)
        {
            //打开设计器,可以对报表进行重新设计
            Gscr.Designer.frmReportDesigner frmReportDesigner = new Gscr.Designer.frmReportDesigner();

            frmReportDesigner.SetContextReport(report1);

            frmReportDesigner.ShowDialog();
        }
Exemplo n.º 2
0
 private void button12_Click(object sender, EventArgs e)
 {
     //设计报表
     Gscr.Designer.frmReportDesigner frmReportDesigner = new Gscr.Designer.frmReportDesigner();
     //设置需要设计的报表
     frmReportDesigner.SetContextReport(report1);
     //数据库配置(可以注释)
     frmReportDesigner.reportDesign1.SetDBConfiguration(DBConfig.ProviderName, DBConfig.ConnectionString);
     frmReportDesigner.ShowDialog();
 }