CrystalReportsViewer -加载参数后的火灾事件/确认按钮单击
本文关键字:事件 确认 按钮 单击 火灾 加载 参数 CrystalReportsViewer | 更新日期: 2023-09-27 18:11:37
我正在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;
}
事实证明,这是不可能的。我和SAP上的某个人谈过我的问题,但我的具体问题没有真正的解决方案。如果有人想,我可以提供一个链接到我的SAP请求。