C# Class SimpleEpub2.AutoUpdater.AutoUpdateDownloadForm

Show file Open project: henryxrl/SimpleEpub2 Class Usage Examples

Protected Properties

Property Type Description
progressBar DevComponents.DotNetBar.Controls.ProgressBarX

Private Properties

Property Type Description
AutoUpdateDownloadForm System
AutoUpdateDownloadForm_FormClosed void
FormatBytes String
FormatPercentage String
InitializeComponent void
bgWorker_DoWork void
bgWorker_RunWorkerCompleted void
webClient_DownloadFileCompleted void
webClient_DownloadProgressChanged void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AutoUpdateDownloadForm ( AutoUpdatable applicationInfo, Uri location, String md5, Icon programIcon ) : System

Creates a new AutoUpdateDownloadForm

AutoUpdateDownloadForm_FormClosed ( object sender, FormClosedEventArgs e ) : void
FormatBytes ( Int64 bytes, Int32 decimalPlaces, Boolean showByteType ) : String

Formats the byte count to closest byte type

FormatPercentage ( Int64 bytes1, Int64 bytes2, Int32 decimalPlaces ) : String
InitializeComponent ( ) : void

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

bgWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
bgWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
webClient_DownloadFileCompleted ( object sender, AsyncCompletedEventArgs e ) : void
webClient_DownloadProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void

Downloads file from server

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

Property Details

progressBar protected property

protected DevComponents.DotNetBar.Controls.ProgressBarX progressBar
return DevComponents.DotNetBar.Controls.ProgressBarX