C# Class OdessaGUIProject.UI_Controls.ScanControl

显示文件 Open project: noahsw/highlight-hunter Class Usage Examples

Public Methods

Method Description
RunScan ( ) : void
ScanControl ( ) : System
UpdateProgress ( int progress ) : void
UpdateTimeRemaining ( string timeRemaining ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GetTimeSavingsMessage ( double scanVideoDurationInSeconds ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ScanControl_Load ( object sender, EventArgs e ) : void
SetControlPropertyThreadSafe ( Control control, string propertyName, object propertyValue ) : void

This method is used to update control properties from background threads

ShouldContinueScanning ( ) : bool
UpdateStatus ( string status ) : void
cancelButton_Click ( object sender, EventArgs e ) : void
scanWorkerHost_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
scanWorkerHost_StatusChanged ( object sender, DoWorkEventArgs e ) : void
updateProgressTimer_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

RunScan() public method

public RunScan ( ) : void
return void

ScanControl() public method

public ScanControl ( ) : System
return System

UpdateProgress() public method

public UpdateProgress ( int progress ) : void
progress int
return void

UpdateTimeRemaining() public method

public UpdateTimeRemaining ( string timeRemaining ) : void
timeRemaining string
return void