Initializes a new instance of the SftTaskDialogIcon class with an image.
Class: SftTaskDialogIcon
Namespace: Softelvdm.SftStyleNET
Assembly: Softelvdm.SftStyleNET
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 )
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.
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