C# Class OdessaGUIProject.VideoPlayerSeekHelper

ファイルを表示 Open project: noahsw/highlight-hunter

Public Properties

Property Type Description
mediaPlayer AxWMPLib.AxWindowsMediaPlayer

Private Properties

Property Type Description
Cancel void
PerformSeek void
WakeUpWorker void
initialPauseWorker_DoWork void
initialPauseWorker_RunWorkerCompleted void
seekWorker_DoWork void
seekWorker_RunWorkerCompleted void

Public Methods

Method Description
SeekRequest ( double position ) : void

Private Methods

Method Description
Cancel ( ) : void

Used so we don't try seeking when video player is not available

PerformSeek ( ) : void
WakeUpWorker ( ) : void
initialPauseWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
initialPauseWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
seekWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
seekWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

SeekRequest() public method

public SeekRequest ( double position ) : void
position double
return void

Property Details

mediaPlayer public_oe property

public AxWMPLib.AxWindowsMediaPlayer mediaPlayer
return AxWMPLib.AxWindowsMediaPlayer