LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
MediaEventHandler Delegate
See Also 
Leadtools.Multimedia Namespace : MediaEventHandler Delegate



sender
The source of the event.
e
A MediaEventArgs object that contains the event data.
Represents the method that will handle an event that has received MediaEventArgs data.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub MediaEventHandler( _
   ByVal sender As Object, _
   ByVal e As MediaEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As New MediaEventHandler(AddressOf HandlerMethod)
C# 
public delegate void MediaEventHandler( 
   object sender,
   MediaEventArgs e
)
C++/CLI 
public delegate void MediaEventHandler( 
   Object^ sender,
   MediaEventArgs^ e
)

Parameters

sender
The source of the event.
e
A MediaEventArgs object that contains the event data.

Remarks

Represents the method that will handle an event that has received MediaEventArgs data. When the MediaEvent event is raised in a toolkit object, any subscribed event handlers in your code will be called.

See the Microsoft documentation on .NET Events and Delegates for more information about .NET delegates and events.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also