C# Класс OdessaGUIProject.UI_Controls.ScanControl

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
RunScan ( ) : void
ScanControl ( ) : System
UpdateProgress ( int progress ) : void
UpdateTimeRemaining ( string timeRemaining ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

RunScan() публичный Метод

public RunScan ( ) : void
Результат void

ScanControl() публичный Метод

public ScanControl ( ) : System
Результат System

UpdateProgress() публичный Метод

public UpdateProgress ( int progress ) : void
progress int
Результат void

UpdateTimeRemaining() публичный Метод

public UpdateTimeRemaining ( string timeRemaining ) : void
timeRemaining string
Результат void