C# Class NAPS2.WinForms.FDownloadProgress

Inheritance: FormBase
Mostrar archivo Open project: cyanfish/naps2

Public Methods

Method Description
FDownloadProgress ( ) : System
QueueFile ( DownloadInfo downloadInfo, Action fileCallback ) : void

Protected Methods

Method Description
OnLoad ( object sender, EventArgs eventArgs ) : void

Private Methods

Method Description
CalculateSha1 ( string filePath ) : string
DisplayProgress ( ) : void
FDownloadProgress_FormClosing ( object sender, FormClosingEventArgs e ) : void
StartNextDownload ( ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
client_DownloadFileCompleted ( object sender, AsyncCompletedEventArgs e ) : void
client_DownloadProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void

Method Details

FDownloadProgress() public method

public FDownloadProgress ( ) : System
return System

OnLoad() protected method

protected OnLoad ( object sender, EventArgs eventArgs ) : void
sender object
eventArgs System.EventArgs
return void

QueueFile() public method

public QueueFile ( DownloadInfo downloadInfo, Action fileCallback ) : void
downloadInfo NAPS2.Util.DownloadInfo
fileCallback Action
return void