共用方式為


ZoomChangedEventHandler 委派

代表將處理 ReportViewerZoomChange 事件的方法。

命名空間: 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
    引發事件的物件。

備註

如需有關處理事件的詳細資訊,請參閱<Consuming Events>。

另請參閱

參考

Microsoft.Reporting.WinForms 命名空間