C# 클래스 SDownload.Dialogs.UpdateAvailableDialog

Dialog shown when an update is available
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: brkastner/SDownload 1 사용 예제들

공개 메소드들

메소드 설명
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