C# Class SDownload.Dialogs.DownloadProgressDialog

Downloads a remote resource to a local file
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: brkastner/SDownload Class Usage Examples

Méthodes publiques

Méthode Description
Download ( String fileLocation ) : bool

Download the remote resource to the given local location

DownloadProgressDialog ( String url, int size ) : System

Create the download progress dialog

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

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

Download() public méthode

Download the remote resource to the given local location
public Download ( String fileLocation ) : bool
fileLocation String The local location to save the file to
Résultat bool

DownloadProgressDialog() public méthode

Create the download progress dialog
public DownloadProgressDialog ( String url, int size ) : System
url String The remote url to download
size int The size of the remote resource to download
Résultat System