C# Class NetSparkle.NetSparkleForm

The main form
Inheritance: System.Windows.Forms.Form, INetSparkleForm
Afficher le fichier Open project: Deadpikle/NetSparkle

Private Properties

Свойство Type Description
DownloadReleaseNotes string
GetReleaseNotes string
INetSparkleForm void
InitializeComponent void
OnRemindClick void
OnSkipButtonClick void
OnUpdateButtonClick void
getVersion string

Méthodes publiques

Méthode Description
NetSparkleForm ( Sparkle sparkle, NetSparkleAppCastItem items, Icon applicationIcon = null, string separatorTemplate = "", string headAddition = "" ) : System

Constructor

RemoveReleaseNotesControls ( ) : void

Removes the release notes control

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

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

NetSparkleForm() public méthode

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.
Résultat System

RemoveReleaseNotesControls() public méthode

Removes the release notes control
public RemoveReleaseNotesControls ( ) : void
Résultat void