Namespace: Consultingwerk.Framework
Class 
NotifyIconWaitStateManager Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Framework.WaitStateManager
Implements: Consultingwerk.Framework.IRaisesWaitStateChangedEvent, Consultingwerk.Framework.IWaitStateManager

File:NotifyIconWaitStateManager
Purpose:IWaitStateManager implementation using a NotifyIcon
component
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Jun 13 15:49:44 CEST 2009
Notes:This file is intended for GUI for .NET only



Top Method Summary
Options Name Purpose
ClearWaitState (character) Clear wait-state indication for a specific message
ContextMenuItemClickHandler (Object, EventArgs) Event handler for the Click event of the notify icons context menu items
System.Windows.Forms.Form FindCurrentForm () Locates the current form
NotifyIconDoubleClickHandler (Object, EventArgs) Event handler for the DoubleClick event of the notify icon
NotifyIconMouseMoveHandler (Object, EventArgs) Event handler for the MouseMove event of the notify icon
SetWaitState (character) Indicate a wait-state with a message to the user. This wait-state will be bound to a specific caller

Top Constructor Summary
Options Name Purpose
NotifyIconWaitStateManager () Constructor for the NotifyIconWaitStateManager class
NotifyIconWaitStateManager (character, character) Constructor for the NotifyIconWaitStateManager class

Top Property Summary
Options Name Purpose
CHARACTER BusyIconFileName
CHARACTER IdleIconFileName


Method Detail
Top

ClearWaitState (character)

Purpose: Clear wait-state indication for a specific message
Notes: This is not supported by this class.
ClearWaitState (pcMessage) will cal ClearWaitState ()

Parameters:
pcMessage CHARACTER
The message to clear the wait state for
Top

ContextMenuItemClickHandler (Object, EventArgs)

Purpose: Event handler for the Click event of the notify icons context menu items
Notes:

Parameters:
sender System.Object
The reference to the sending object
e System.EventArgs
The System.EventArgs with the data for this event
Top

System.Windows.Forms.Form FindCurrentForm ()

Purpose: Locates the current form
Notes: Invoked from the context menu of the notify icon

Returns System.Windows.Forms.Form
The current System.Windows.Forms.Form
Top

NotifyIconDoubleClickHandler (Object, EventArgs)

Purpose: Event handler for the DoubleClick event of the notify icon
Notes: Activates the current main or primary Form

Parameters:
sender System.Object
The reference to the sending object
e System.EventArgs
The System.EventArgs with the data for this event
Top

NotifyIconMouseMoveHandler (Object, EventArgs)

Purpose: Event handler for the MouseMove event of the notify icon
Notes: Sets the text for the notify icon, when no message is currently shown

Parameters:
sender System.Object
The reference to the sending object
e System.EventArgs
The System.EventArgs with the data for this event
Top

SetWaitState (character)

Purpose: Indicate a wait-state with a message to the user. This wait-state
will be bound to a specific caller
Notes: The pcMessage is generally a message code, which will be interpreted
by classes implementing the IWaitStateManager interface
This is not supported by this class.
SetWaitState (pcMessage) will call SetWaitState ()

Parameters:
pcMessage CHARACTER
The message related to the wait state


Constructor Detail
Top

NotifyIconWaitStateManager ()

Purpose: Constructor for the NotifyIconWaitStateManager class
Notes:

Top

NotifyIconWaitStateManager (character, character)

Purpose: Constructor for the NotifyIconWaitStateManager class
Notes:

Parameters:
pcIdleIconFileName CHARACTER
The file name of the idle icon
pcBusyIconFileName CHARACTER
The file name of the busy icon


Property Detail
Top

CHARACTER BusyIconFileName


Returns CHARACTER
Top

CHARACTER IdleIconFileName


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:21:38