我正在使用 C# 桌面应用程序中的 CrystalReportsViewer 控件。我希望在用户完成输入参数并且报告显示数据时触发一个事件。有没有我可以使用的事件?
以下事件都不符合我的要求。
private void LoadCrystalReportViewer()
{
crystalReportViewer1.Validated += CrystaLReportViewer1Validated;
crystalReportViewer1.Load += CrystalReportViewer1OnLoad;
crystalReportViewer1.ReportRefresh += CrystalReportViewer1OnReportRefresh;
crystalReportViewer1.BindingContextChanged += CrystalReportViewer1OnBindingContextChanged;
crystalReportViewer1.GotFocus += CrystalReportViewer1OnGotFocus;
crystalReportViewer1.SelectionChanged += CrystalReportViewer1OnSelectionChanged;
crystalReportViewer1.Validating += CrystalReportViewer1OnValidating;
crystalReportViewer1.ViewChanged += CrystalReportViewer1OnViewChanged;
crystalReportViewer1.ControlAdded += CrystalReportViewer1OnControlAdded;
crystalReportViewer1.EnabledChanged += CrystalReportViewer1OnEnabledChanged;
crystalReportViewer1.HandleCreated += CrystalReportViewer1OnHandleCreated;
crystalReportViewer1.StyleChanged += CrystalReportViewer1OnStyleChanged;
crystalReportViewer1.SizeChanged += CrystalReportViewer1OnSizeChanged;
crystalReportViewer1.VisibleChanged += CrystalReportViewer1OnVisibleChanged;
crystalReportViewer1.AutoValidateChanged += CrystalReportViewer1OnAutoValidateChanged;
crystalReportViewer1.BackgroundImageChanged += CrystalReportViewer1OnBackgroundImageChanged;
crystalReportViewer1.BackgroundImageLayoutChanged += CrystalReportViewer1OnBackgroundImageLayoutChanged;
crystalReportViewer1.CausesValidationChanged += CrystalReportViewer1OnCausesValidationChanged;
crystalReportViewer1.ChangeUICues += CrystalReportViewer1OnChangeUiCues;
}
还没有找到解决办法...