C# Class CmisSync.StatusIcon

CmisSync icon in the Windows status bar.
Inheritance: System.Windows.Forms.Form
Show file Open project: aegif/CmisSync Class Usage Examples

Public Properties

Property Type Description
Controller StatusIconController

Public Methods

Method Description
StatusIcon ( ) : System

Constructor.

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Dispose of the status icon GUI elements.

OnLoad ( EventArgs e ) : void

When form is loaded,

Private Methods

Method Description
CreateIcons ( ) : void

Create the animation frames from image files.

CreateInvokeMethods ( ) : void

Set up the controller to create menu elements on update.

CreateMenu ( ) : void

Create the GUI elements of the menu.

ManualSyncDelegate ( string reponame ) : EventHandler
NotifyIcon1_MouseClick ( Object sender, MouseEventArgs e ) : void

MouseEventListener function for opening the local folder.

OpenLocalFolderDelegate ( string reponame ) : EventHandler

Delegate for opening the local folder.

OpenRemoteFolderDelegate ( string reponame ) : EventHandler

Delegate for opening the remote folder.

RemoveFolderFromSyncDelegate ( string reponame ) : EventHandler
SetEnabledOrDisabled ( ToolStripMenuItem enableDisableItem, ToolStripMenuItem menuItem, bool enabled ) : void
SettingsDelegate ( string reponame ) : EventHandler
SuspendSyncFolderDelegate ( string reponame ) : EventHandler

Delegate for suspending sync.

TrayIcon_MouseClick ( Object sender, MouseEventArgs e ) : void

MouseEventListener function for popping up context menu.

Method Details

Dispose() protected method

Dispose of the status icon GUI elements.
protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

OnLoad() protected method

When form is loaded,
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

StatusIcon() public method

Constructor.
public StatusIcon ( ) : System
return System

Property Details

Controller public property

MVC controller for the the status icon.
public StatusIconController,CmisSync Controller
return StatusIconController