Method SetMessageIcon
SetMessageIcon(MessageBoxIcon?)
Sets the icon displayed in the message box.
public virtual void SetMessageIcon(MessageBoxIcon? icon)
Parameters
iconMessageBoxIcon?The MessageBoxIcon to display, or null to display no icon.
Remarks
The method updates the image of the label to reflect the specified icon.