C# Класс NetSparkle.NetSparkleForm

The main form
Наследование: System.Windows.Forms.Form, INetSparkleForm
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
DownloadReleaseNotes string
GetReleaseNotes string
INetSparkleForm void
InitializeComponent void
OnRemindClick void
OnSkipButtonClick void
OnUpdateButtonClick void
getVersion string

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

Метод Описание
NetSparkleForm ( Sparkle sparkle, NetSparkleAppCastItem items, Icon applicationIcon = null, string separatorTemplate = "", string headAddition = "" ) : System

Constructor

RemoveReleaseNotesControls ( ) : void

Removes the release notes control

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

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

Clean up any resources being used.

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

Метод Описание
DownloadReleaseNotes ( string link ) : string
GetReleaseNotes ( NetSparkleAppCastItem item ) : string
INetSparkleForm ( ) : void
InitializeComponent ( ) : void

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

OnRemindClick ( object sender, EventArgs e ) : void

Event called when the "remind me later" button is clicked

OnSkipButtonClick ( object sender, EventArgs e ) : void

Event called when the skip button is clicked

OnUpdateButtonClick ( object sender, EventArgs e ) : void

Called when the "Update button" is clicked

getVersion ( System.Version version ) : string

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

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

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

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

Constructor
public NetSparkleForm ( Sparkle sparkle, NetSparkleAppCastItem items, Icon applicationIcon = null, string separatorTemplate = "", string headAddition = "" ) : System
sparkle Sparkle
items NetSparkleAppCastItem List of updates to show
applicationIcon System.Drawing.Icon The icon
separatorTemplate string HTML template for every single note. Use {0} = Version. {1} = Date. {2} = Note Body
headAddition string Additional text they will inserted into HTML Head. For Stylesheets.
Результат System

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

Removes the release notes control
public RemoveReleaseNotesControls ( ) : void
Результат void