C# Класс SDownload.Dialogs.UpdateAvailableDialog

Dialog shown when an update is available
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Prompt ( String fileUrl, List contracts ) : void

Creates an update dialog to prompt the user

UpdateAvailableDialog ( String fileUrl, IReadOnlyList contracts ) : System

Initializes the dialog

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

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

Clean up any resources being used.

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

Метод Описание
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

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

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

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

Prompt() публичный статический Метод

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
Результат void

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

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
Результат System