C# Класс entity.Unused.Download_Manager

Показать файл Открыть проект

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

Метод Описание
DownloadFile ( string URL, string DestFile ) : void

The download file.

Download_Manager ( Form1 mainForm ) : System

Initializes a new instance of the Download_Manager class.

ResetCredentials ( ) : void

The reset credentials.

SetCredentials ( string UserName, string Password ) : void

The set credentials.

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

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

Clean up any resources being used.

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

Метод Описание
Cancel_Click ( object sender, EventArgs e ) : void

The cancel_ click.

Cancel_Click_1 ( object sender, EventArgs e ) : void

The cancel_ click_1.

DownloadFTP ( ) : void

The download ftp.

DownloadHTTP ( ) : void

The download http.

Download_Manager_FormClosed ( object sender, FormClosedEventArgs e ) : void

The download_ manager_ form closed.

InitializeComponent ( ) : void

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

UpdateProgress ( string source, string dest, long BytesRead, long TotalBytes ) : void

The update progress.

timer_Tick ( object sender, EventArgs e ) : void

The timer_ tick.

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

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

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

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

The download file.
public DownloadFile ( string URL, string DestFile ) : void
URL string The url.
DestFile string The dest file.
Результат void

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

Initializes a new instance of the Download_Manager class.
public Download_Manager ( Form1 mainForm ) : System
mainForm Form1 The main form.
Результат System

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

The reset credentials.
public ResetCredentials ( ) : void
Результат void

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

The set credentials.
public SetCredentials ( string UserName, string Password ) : void
UserName string The user name.
Password string The password.
Результат void