C# Class PlexServiceTray.NotifyIconApplicationContext

Tray icon context
Inheritance: System.Windows.Forms.ApplicationContext
显示文件 Open project: cjmurph/PmsService Class Usage Examples

Public Methods

Method Description
NotifyIconApplicationContext ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AboutCommand ( object sender, EventArgs e ) : void

Open the About dialog

Connect ( ) : void

Connect to WCF service

ConnectionSettingsCommand ( object sender, EventArgs e ) : void

Show the connection settings dialogue

ContextMenuStrip_Opening ( object sender, System e ) : void

build the context menu each time it opens to ensure appropriate options

Disconnect ( ) : void

Disconnect from WCF service

ExitCommand ( object sender, EventArgs e ) : void

Close the notify icon

NotifyIcon_Click ( object sender, MouseEventArgs e ) : void

Open the context menu on right click

NotifyIcon_DoubleClick ( object sender, MouseEventArgs e ) : void

Opens the web manager on a double left click

OpenManager_Click ( object sender, EventArgs e ) : void

Try to open the web manager

SettingsCommand ( object sender, EventArgs e ) : void

Show the settings dialogue

StartPlex_Click ( object sender, EventArgs e ) : void

Start Plex

StopPlex_Click ( object sender, EventArgs e ) : void

Stop Plex

ViewLogs_Click ( object sender, EventArgs e ) : void

View the server log file

initializeContext ( ) : void

Setup our tray icon

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

NotifyIconApplicationContext() public method

public NotifyIconApplicationContext ( ) : System
return System