C# Class ZeroInstall.Central.WinForms.MainForm

Exibir arquivo Open project: 0install/0install-win

Public Methods

Method Description
MainForm ( bool machineWide ) : System

Initializes the main GUI.

ShowNotificactionBar ( [ message, [ clickHandler ) : void

Shows a notification bar at the top of the window.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Private Methods

Method Description
AddCustomInterface ( string interfaceUri ) : void

Adds a custom interface to tileListCatalog.

InitializeComponent ( ) : void

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

IsSyncConfigValid ( ) : bool
LoadCatalogAsync ( ) : void

Loads the "new applications" catalog in the background and displays it.

MainForm_DragDrop ( object sender, DragEventArgs e ) : void
MainForm_DragEnter ( object sender, DragEventArgs e ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_HandleCreated ( object sender, EventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
MainForm_MouseWheel ( object sender, MouseEventArgs e ) : void
MainForm_Shown ( object sender, EventArgs e ) : void
OnFirstRun ( ) : bool

Returns true the first time it is called and then always false.

UpdateAppListAsync ( ) : void

Loads the "my applications" list and displays it, loading additional data from feeds in the background.

appListWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
buttonAddCatalog_Click ( object sender, EventArgs e ) : void
buttonAddFeed_Click ( object sender, EventArgs e ) : void
buttonCommandLine_Click ( object sender, EventArgs e ) : void
buttonFeedEditor_Click ( object sender, EventArgs e ) : void
buttonHelp_Click ( object sender, EventArgs e ) : void
buttonIntro_Click ( object sender, EventArgs e ) : void
buttonOptions_Click ( object sender, EventArgs e ) : void
buttonPortableCreator_Click ( object sender, EventArgs e ) : void
buttonRefreshCatalog_Click ( object sender, EventArgs e ) : void
buttonSearch_Click ( object sender, EventArgs e ) : void
buttonStoreManage_Click ( object sender, EventArgs e ) : void
buttonSyncSetup_Click ( object sender, EventArgs e ) : void
buttonSyncTroubleshoot_Click ( object sender, EventArgs e ) : void
buttonSync_Click ( object sender, EventArgs e ) : void
buttonUpdateAllClean_Click ( object sender, EventArgs e ) : void
buttonUpdateAll_Click ( object sender, EventArgs e ) : void
catalogWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
catalogWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
deployTimer_Tick ( object sender, EventArgs e ) : void
labelNotificationBar_Click ( object sender, EventArgs e ) : void
selfUpdateWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
selfUpdateWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
tabControlApps_KeyPress ( object sender, KeyPressEventArgs e ) : void

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

MainForm() public method

Initializes the main GUI.
Failed to read a config file. Access to a configuration file was not permitted. The config data is damaged.
public MainForm ( bool machineWide ) : System
machineWide bool Apply operations machine-wide instead of just for the current user.
return System

ShowNotificactionBar() public method

Shows a notification bar at the top of the window.
public ShowNotificactionBar ( [ message, [ clickHandler ) : void
message [ The message to display in the notification bar.
clickHandler [ A callback to execute when the notification bar is clicked.
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m Message
return void