ICreate.Controls.Bars Send comments on this topic.
TaskBarItemEventHandler Delegate
See Also 
ICreate.Controls.Bars Namespace : TaskBarItemEventHandler Delegate






sender
The source of the event.
args
A TaskBarItemEventArgs instance containing the event data.
Represents the method that will handle the TaskBar ItemHot, ItemCold and ItemSelected events.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub TaskBarItemEventHandler( _
   ByVal sender As Object, _
   ByVal args As TaskBarItemEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As New TaskBarItemEventHandler(AddressOf HandlerMethod)
C# 
public delegate void TaskBarItemEventHandler( 
   object sender,
   TaskBarItemEventArgs args
)
Delphi 
public delegate TaskBarItemEventHandler( 
    sender: TObject;
    args: TaskBarItemEventArgs
);
JScript 
public delegate TaskBarItemEventHandler( 
   sender : Object,
   args : TaskBarItemEventArgs
)
Managed Extensions for C++ 
public: __gc __delegate void TaskBarItemEventHandler( 
   Object* sender,
   TaskBarItemEventArgs* args
)
C++/CLI 
public delegate void TaskBarItemEventHandler( 
   Object^ sender,
   TaskBarItemEventArgs^ args
)

Parameters

sender
The source of the event.
args
A TaskBarItemEventArgs instance containing the event data.

Remarks

When you create a TaskBarItemEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Events and Delegates.

Requirements

Namespace: ICreate.Controls.Bars

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: ICreate.Controls.Bars (in ICreate.Controls.Bars.dll)

See Also