LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
StateChangedEventArgs Constructor
See Also 
Leadtools.Multimedia Namespace > StateChangedEventArgs Class : StateChangedEventArgs Constructor



lastState
Value that specifies the previous state of the object.
state
Value that specifies the new state of the object.
The StateChangedEventArgs object is the event arguments object for the StateChangedEventHandler. For more information, see StateChangedEventHandler

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal lastState As PlayState, _
   ByVal state As PlayState _
)
Visual Basic (Usage)Copy Code
Dim lastState As PlayState
Dim state As PlayState
 
Dim instance As New StateChangedEventArgs(lastState, state)
C# 
public StateChangedEventArgs( 
   PlayState lastState,
   PlayState state
)
C++/CLI 
public:
StateChangedEventArgs( 
   PlayState lastState,
   PlayState state
)

Parameters

lastState
Value that specifies the previous state of the object.
state
Value that specifies the new state of the object.

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