LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
PlayStateChanged Event
See Also 
Leadtools.Medical.Workstation.UI Namespace > ICinePlayer Interface : PlayStateChanged Event




Occurs when the play state is changed.

Syntax

Visual Basic (Declaration) 
Event PlayStateChanged As EventHandler(Of PlayStateEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As ICinePlayer
Dim handler As EventHandler(Of PlayStateEventArgs)
 
AddHandler instance.PlayStateChanged, handler
C# 
event EventHandler<PlayStateEventArgs> PlayStateChanged
Managed Extensions for C++ 
__event EventHandler<PlayStateEventArgs*>* PlayStateChanged
C++/CLI 
event EventHandler<PlayStateEventArgs^>^ PlayStateChanged

Event Data

The event handler receives an argument of type PlayStateEventArgs containing data related to this event. The following PlayStateEventArgs properties provide information specific to this event.

PropertyDescription
CurrentState Gets the current PlayState.
OldState Gets the old PlayState.

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