Method SetIcon
| Edit this page View SourceSetIcon(string)
Sets the icon displayed for the application's taskbar button.
Declaration
public void SetIcon(string iconPath)
Parameters
Type | Name | Description |
---|---|---|
string | iconPath | The file path to the icon image to display on the taskbar button. The path must refer to a valid .ico image file. |
SetIcon(IconId)
Sets the icon displayed for the application's taskbar window.
Declaration
public void SetIcon(IconId iconId)
Parameters
Type | Name | Description |
---|---|---|
IconId | iconId | The identifier of the icon to display in the taskbar. Must be a valid IconId value. |