C# Class IconSystray.NotifyIconSystray

Handles the systray icon
Afficher le fichier Open project: Zougi/LyncLogger

Méthodes publiques

Свойство Type Description
ChangeStatus Status

Méthodes publiques

Méthode Description
Status_DelegateMethod ( bool status ) : void

This method allows to change the state of icon and tooltip true = Log Active: the logger detected the client and is active.

addNotifyIcon ( String name, MenuItem items = null ) : void

add notification icon to system tray bar (near the clock) quit option is available by default

disposeNotifyIcon ( ) : void
setNotifyIcon ( string iconName, string text ) : void

set text and icon for the taskbar Icon must be in the project as embedded resource

setOffIcon ( string text, string imageName ) : void
setOnIcon ( string text, string imageName ) : void

Method Details

Status_DelegateMethod() public static méthode

This method allows to change the state of icon and tooltip true = Log Active: the logger detected the client and is active.
public static Status_DelegateMethod ( bool status ) : void
status bool
Résultat void

addNotifyIcon() public static méthode

add notification icon to system tray bar (near the clock) quit option is available by default
public static addNotifyIcon ( String name, MenuItem items = null ) : void
name String name displayed on mouse hover
items System.Windows.Forms.MenuItem items to add to the context menu
Résultat void

disposeNotifyIcon() public static méthode

public static disposeNotifyIcon ( ) : void
Résultat void

setNotifyIcon() public static méthode

set text and icon for the taskbar Icon must be in the project as embedded resource
public static setNotifyIcon ( string iconName, string text ) : void
iconName string
text string
Résultat void

setOffIcon() public static méthode

public static setOffIcon ( string text, string imageName ) : void
text string
imageName string
Résultat void

setOnIcon() public static méthode

public static setOnIcon ( string text, string imageName ) : void
text string
imageName string
Résultat void

Property Details

ChangeStatus public_oe static_oe property

This delegate allows us to call Status_DelegateMethod in the backgroundworker It changes the indicator that displays the state of the app.
public static Status ChangeStatus
Résultat Status