问题
I am building a Winforms C# application that uses 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.
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:
How can you tell programmatically when a Crystal Report has finished loading?
回答1:
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
来源:https://stackoverflow.com/questions/10693855/how-to-tell-when-a-crystal-report-has-loaded