C# Class SDownload.Dialogs.UpdateAvailableDialog

Dialog shown when an update is available
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: brkastner/SDownload Class Usage Examples

Méthodes publiques

Méthode Description
Prompt ( String fileUrl, List contracts ) : void

Creates an update dialog to prompt the user

UpdateAvailableDialog ( String fileUrl, IReadOnlyList contracts ) : System

Initializes the dialog

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
DownloadAndInstall ( int size ) : void

Downloads and installs the newest version

InitializeComponent ( ) : void

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

LogUpdate ( ) : void

Log the update using Google Analytics

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

Prompt() public static méthode

Creates an update dialog to prompt the user
public static Prompt ( String fileUrl, List contracts ) : void
fileUrl String The URL of the new version to download
contracts List The response received from the SDownload regarding the new version
Résultat void

UpdateAvailableDialog() public méthode

Initializes the dialog
public UpdateAvailableDialog ( String fileUrl, IReadOnlyList contracts ) : System
fileUrl String The URL of the new version to download
contracts IReadOnlyList The response received from the SDownload regarding the new version
Résultat System