【发布时间】:2015-04-27 20:54:16
【问题描述】:
我是水晶报表的新手。如何使用以下方法处理报告。
report.Close();
report.Dispose();
我必须在水晶报表查看器的加载或卸载事件中使用它吗? 任何人都可以建议一种处理报告的方法吗?
【问题讨论】:
标签: crystal-reports
我是水晶报表的新手。如何使用以下方法处理报告。
report.Close();
report.Dispose();
我必须在水晶报表查看器的加载或卸载事件中使用它吗? 任何人都可以建议一种处理报告的方法吗?
【问题讨论】:
标签: crystal-reports
我总是使用托管报表查看器的表单的 FormClosed 事件。
private void CrystalPreviewForm_FormClosed(object sender, FormClosedEventArgs e)
{
if (this.reportDocument != null)
{
this.reportDocument.Close();
this.reportDocument.Dispose();
}
}
【讨论】: