C# Class OdessaGUIProject.UI_Controls.ScanControl

Afficher le fichier Open project: noahsw/highlight-hunter Class Usage Examples

Méthodes publiques

Méthode Description
RunScan ( ) : void
ScanControl ( ) : System
UpdateProgress ( int progress ) : void
UpdateTimeRemaining ( string timeRemaining ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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

RunScan() public méthode

public RunScan ( ) : void
Résultat void

ScanControl() public méthode

public ScanControl ( ) : System
Résultat System

UpdateProgress() public méthode

public UpdateProgress ( int progress ) : void
progress int
Résultat void

UpdateTimeRemaining() public méthode

public UpdateTimeRemaining ( string timeRemaining ) : void
timeRemaining string
Résultat void