我正在使用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;
}
仍然没有找到解决方案......
答案 0 :(得分:1)
事实证明,这是不可能的。我在SAP上与某人讨论了我的问题,并没有解决我的具体问题。如果有人想要,我可以提供指向我的SAP请求的链接。