如何判断何时加载Crystal报表 [英] How to tell when a Crystal Report has loaded

查看:98
本文介绍了如何判断何时加载Crystal报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建使用Crystal Reports的Winforms C#应用程序。

I am building a Winforms C# application that uses Crystal Reports.

我正在加载虚拟报告,以便在用户打开报告时加载Crystal Reports组件。 。我这样做是因为第一次加载报告会花费很多时间。

I am loading a dummy report so that the Crystal Reports components are loaded when the user opens a Report. I do this because it takes a lot of time to load the report the first time.

我打开一个最小化,不透明度为0%的表格,其中包含来自后台工作人员的虚拟报表。我需要知道何时完全加载报表,以便知道何时关闭表单。我没有在线找到答案,所以我的问题是:

I open a minimized, 0% opacity form containing the dummy report from a backgroundworker. I need to know when the report has loaded completely, so that I know when to close the form. I didn't manage to find an answer on-line, so my question is:

您如何以编程方式告诉Crystal Report完成加载的时间? / strong>

How can you tell programmatically when a Crystal Report has finished loading?

推荐答案

我认为Crystal报表中对此没有正式规定,因此我建议使用回调和YourDummyReport.IsLoaded属性。
希望对您有帮助

I think there's nothing official about this in crystal report, so I suggest to workaround using callbacks and YourDummyReport.IsLoaded property. Hope it helps

这篇关于如何判断何时加载Crystal报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆