C# Class Hourglass.Windows.NotificationAreaIcon

Displays an icon for the app in the notification area of the taskbar.
Inheritance: IDisposable
Datei anzeigen Open project: Dziemborowicz/Hourglass Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes the NotificationAreaIcon.

NotificationAreaIcon ( ) : System

Initializes a new instance of the NotificationAreaIcon class.

ShowBalloonTipForExpiredTimer ( ) : void

Displays a balloon tip notifying that a timer has expired.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes the NotificationAreaIcon.

ThrowIfDisposed ( ) : void

Throws a ObjectDisposedException if the object has been disposed.

Private Methods

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

Invoked when the balloon tip is clicked.

ContextMenuCollapse ( object sender, EventArgs e ) : void

Invoked when the shortcut menu collapses.

The Microsoft .NET Framework does not call this method consistently.

ContextMenuPopup ( object sender, EventArgs e ) : void

Invoked before the notify icon context menu is displayed.

DispatcherTimerTick ( object sender, EventArgs e ) : void

Invoked when the dispatcherTimer interval has elapsed.

ExitMenuItemClick ( object sender, EventArgs e ) : void

Invoked when the "Exit" MenuItem is clicked.

NewTimerMenuItemClick ( object sender, EventArgs e ) : void

Invoked when the "New timer" MenuItem is clicked.

NotifyIconMouseDown ( object sender, MouseEventArgs e ) : void

Invoked when the user presses the mouse button while the pointer is over the icon in the notification area of the taskbar.

NotifyIconMouseMove ( object sender, MouseEventArgs e ) : void

Invoked when the user moves the mouse while the pointer is over the icon in the notification area of the taskbar.

RestoreAllExpiredTimerWindows ( ) : void

Restores all TimerWindows that show expired timers.

RestoreAllTimerWindows ( ) : void

Restores all TimerWindows.

SettingsPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Invoked after the value of an application settings property is changed.

WindowMenuItemClick ( object sender, EventArgs e ) : void

Invoked when a MenuItem for a TimerWindow is clicked.

Method Details

Dispose() public method

Disposes the NotificationAreaIcon.
public Dispose ( ) : void
return void

Dispose() protected method

Disposes the NotificationAreaIcon.
protected Dispose ( bool disposing ) : void
disposing bool A value indicating whether this method was invoked by an explicit call to .
return void

NotificationAreaIcon() public method

Initializes a new instance of the NotificationAreaIcon class.
public NotificationAreaIcon ( ) : System
return System

ShowBalloonTipForExpiredTimer() public method

Displays a balloon tip notifying that a timer has expired.
public ShowBalloonTipForExpiredTimer ( ) : void
return void

ThrowIfDisposed() protected method

Throws a ObjectDisposedException if the object has been disposed.
protected ThrowIfDisposed ( ) : void
return void