DevExpress 打开报表设计器
/// <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]