Leadtools.Medical.Workstation.UI Namespace > CinePlayer Class : PlayStateChanged Event |
public event EventHandler<PlayStateEventArgs> PlayStateChanged
'Declaration Public Event PlayStateChanged As EventHandler(Of PlayStateEventArgs)
'Usage Dim instance As CinePlayer Dim handler As EventHandler(Of PlayStateEventArgs) AddHandler instance.PlayStateChanged, handler
public event EventHandler<PlayStateEventArgs> PlayStateChanged
add_PlayStateChanged(function(sender, e)) remove_PlayStateChanged(function(sender, e))
public: __event EventHandler<PlayStateEventArgs*>* PlayStateChanged
public: event EventHandler<PlayStateEventArgs*>* PlayStateChanged
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.
Property | Description |
---|---|
CurrentState | Gets the current PlayState. |
OldState | Gets the old PlayState. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2