Method FromAssemblyUrl
FromAssemblyUrl(Assembly, string)
Initializes a new instance of the Image class from the specified relative url and assembly.
public static Image FromAssemblyUrl(Assembly asm, string relativeName)
Parameters
asm
AssemblyAssembly from which image will be loaded.
relativeName
stringImage name of relative path. Slash characters must be changed to '.'. Example: "ToolBarPng.Large.Calendar32.png".