HeaderPane
Main
Hide
Share Link
Print

SftTaskDialogIcon Constructor

Initializes a new instance of the SftTaskDialogIcon class with an image.

Class: SftTaskDialogIcon
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET

Syntax

public SftTaskDialogIcon( Bitmap image );
public SftTaskDialogIcon( Icon icon );
public SftTaskDialogIcon( IntPtr iconHandle );
Public Sub New( ByVal image As Bitmap )
Public Sub New( ByVal icon As Icon )
Public Sub New( ByVal iconHandle As IntPtr )

Parameters

image

The image to show; null throws an ArgumentNullException.

icon

The icon to show; null throws an ArgumentNullException.

iconHandle

The handle of the icon to show. The caller keeps it valid while the icon is shown and destroys it afterwards.

Comments

Initializes a new instance of the SftTaskDialogIcon class with an image.

The image is converted to an icon, which Dispose releases.

See Also SftTaskDialogIcon Class | Classes | SftStyle/NET 3.0