开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 4099|回复: 0

DevExpress 打开报表设计器

[复制链接]

0

精华

100

贡献

33

赞扬

帖子
132
软币
3320
在线时间
53 小时
注册时间
2013-8-31
发表于 2013-9-1 14:45:02 | 显示全部楼层 |阅读模式
        /// <summary>
        /// 报表设计器
        /// </summary>
        private void BtnReportDesigner_Click(object sender, EventArgs e)
        {
            DevExpress.XtraReports.UI.XtraReport report = new DevExpress.XtraReports.UI.XtraReport();
            report.LoadLayout(Application.StartupPath + @"\BillReport.repx");
            //BillReport report = new BillReport();//调用原生的报表
            XRDesignFormEx designForm = new XRDesignFormEx();
            designForm.OpenReport(report);
            designForm.ShowDialog();
            designForm.Dispose();
        }

评分

参与人数 1赞扬 +1 收起 理由
darkhorse + 1 赞一个

查看全部评分

回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-5-5 06:20

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表