2

我正在使用 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;
}

还没有找到解决办法...

4

1 回答 1

1

事实证明,这是不可能的。我与 SAP 上的某个人讨论了我的问题,但我的具体问题没有真正的解决方案。如果有人想要,我可以提供指向我的 SAP 请求的链接。

于 2013-05-14T19:38:12.890 回答