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 > CinePlayer Class : PlayStateChanged Event




Occurs when the play state is changed.

Syntax

Visual Basic (Declaration) 
Public Event PlayStateChanged As EventHandler(Of PlayStateEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As CinePlayer
Dim handler As EventHandler(Of PlayStateEventArgs)
 
AddHandler instance.PlayStateChanged, handler
C# 
public event EventHandler<PlayStateEventArgs> PlayStateChanged
Managed Extensions for C++ 
public: __event EventHandler<PlayStateEventArgs*>* PlayStateChanged
C++/CLI 
public:
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