次の方法で共有


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」を参照してください。

関連項目

参照

ReportViewer クラス

Microsoft.Reporting.WinForms 名前空間