ReportViewer.ViewButtonClick 事件
当用户单击**“查看”**按钮时发生。
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)
语法
声明
Public Event ViewButtonClick As CancelEventHandler
用法
Dim instance As ReportViewer
Dim handler As CancelEventHandler
AddHandler instance.ViewButtonClick, handler
public event CancelEventHandler ViewButtonClick
public:
event CancelEventHandler^ ViewButtonClick {
void add (CancelEventHandler^ value);
void remove (CancelEventHandler^ value);
}
member ViewButtonClick : IEvent<CancelEventHandler,
CancelEventArgs>
JScript 支持使用事件,但不支持声明新事件。
注释
当用户单击**“查看”**按钮时发生此事件。
有关处理事件的更多信息,请参见Consuming Events。