C# Class WebDavWinFormsClientDemo.DownloadForm

Inheritance: System.Windows.Forms.Form
显示文件 Open project: ringostarr80/WebDav.NET Class Usage Examples

Public Methods

Method Description
DownloadFile ( Uri source, string destination ) : void
DownloadForm ( ) : System
DownloadResource ( IResource resource, string destination ) : void
UploadFile ( string source, IResource destinationResource ) : void
UploadFile ( string source, Uri destination ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

Private Methods

Method Description
DownloadForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
GetBestSizeFormat ( long size ) : string
InitializeComponent ( ) : void

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

buttonCancel_Click ( object sender, EventArgs e ) : void
buttonReady_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Verwendete Ressourcen bereinigen.
protected Dispose ( bool disposing ) : void
disposing bool True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
return void

DownloadFile() public method

public DownloadFile ( Uri source, string destination ) : void
source System.Uri
destination string
return void

DownloadForm() public method

public DownloadForm ( ) : System
return System

DownloadResource() public method

public DownloadResource ( IResource resource, string destination ) : void
resource IResource
destination string
return void

UploadFile() public method

public UploadFile ( string source, IResource destinationResource ) : void
source string
destinationResource IResource
return void

UploadFile() public method

public UploadFile ( string source, Uri destination ) : void
source string
destination System.Uri
return void