ZoomChangedEventHandler 委派
代表將處理 ReportViewer 之 ZoomChange 事件的方法。
命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.dll)
語法
'宣告
Public Delegate Sub ZoomChangedEventHandler ( _
sender As Object, _
e As ZoomChangeEventArgs _
)
'用途
Dim instance As New ZoomChangedEventHandler(AddressOf HandlerMethod)
public delegate void ZoomChangedEventHandler (
Object sender,
ZoomChangeEventArgs e
)
public delegate void ZoomChangedEventHandler (
Object^ sender,
ZoomChangeEventArgs^ e
)
/** @delegate */
public delegate void ZoomChangedEventHandler (
Object sender,
ZoomChangeEventArgs e
)
JScript supports the use of delegates, but not the declaration of new ones.
參數
- sender
引發事件的物件。
- e
包含事件相關資訊的 ZoomChangeEventArgs 物件。
備註
如需有關處理事件的詳細資訊,請參閱<Consuming Events>。