C# Class NetSparkle.NetSparkleForm

The main form
Inheritance: System.Windows.Forms.Form, INetSparkleForm
ファイルを表示 Open project: Deadpikle/NetSparkle

Private Properties

Property Type Description
DownloadReleaseNotes string
GetReleaseNotes string
INetSparkleForm void
InitializeComponent void
OnRemindClick void
OnSkipButtonClick void
OnUpdateButtonClick void
getVersion string

Public Methods

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

Constructor

RemoveReleaseNotesControls ( ) : void

Removes the release notes control

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

NetSparkleForm() public method

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.
return System

RemoveReleaseNotesControls() public method

Removes the release notes control
public RemoveReleaseNotesControls ( ) : void
return void