C# Class ZeroInstall.Central.WinForms.AppTile

Show file Open project: 0install/0install-win Class Usage Examples

Private Properties

Property Type Description
InitializeComponent void
LinkClicked void
UpdateButtons void
buttonAdd_Click void
buttonIntegrate_Click void
buttonRemove_Click void
buttonRun_Click void
buttonSelectCommand_Click void
buttonSelectVersion_Click void
buttonUpdate_Click void
iconDownloadWorker_DoWork void
iconDownloadWorker_RunWorkerCompleted void

Public Methods

Method Description
AppTile ( [ interfaceUri, [ appName, AppStatus status, [ iconCache = null, bool machineWide = false ) : System

Creates a new application tile.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

LinkClicked ( object sender, EventArgs e ) : void
UpdateButtons ( ) : void

Updates the visibility and icons of buttons based on the Status.

buttonAdd_Click ( object sender, EventArgs e ) : void
buttonIntegrate_Click ( object sender, EventArgs e ) : void
buttonRemove_Click ( object sender, EventArgs e ) : void
buttonRun_Click ( object sender, EventArgs e ) : void
buttonSelectCommand_Click ( object sender, EventArgs e ) : void
buttonSelectVersion_Click ( object sender, EventArgs e ) : void
buttonUpdate_Click ( object sender, EventArgs e ) : void
iconDownloadWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
iconDownloadWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

AppTile() public method

Creates a new application tile.
public AppTile ( [ interfaceUri, [ appName, AppStatus status, [ iconCache = null, bool machineWide = false ) : System
interfaceUri [ The interface URI of the application this tile represents.
appName [ The name of the application this tile represents.
status AppStatus Describes whether the application is listed in the and if so whether it is integrated.
iconCache [ The icon cache used to retrieve icons specified in ; can be null.
machineWide bool Apply operations machine-wide instead of just for the current user.
return System

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