[This is preliminary documentation and is subject to change.]
Sets the top left icon for this PWindow from an embedded resource file.
Declaration Syntax
C# |
public void SetIcon( string resourceFileName )
Parameters
- resourceFileName (String)
- The name of an icon file which has been embedded as a resource in the assembly containing the method which has called this method.
Exceptions
Exception | Condition |
---|---|
ArgumentException | No embedded resource with the
given file name was found. |