Method LoadFromResource
LoadFromResource(Assembly, TKey, bool)
Loads the specified image from the assemblie's resource.
public virtual bool LoadFromResource(Assembly assembly, TKey imageKey, bool isSmallImage = true)
Parameters
assembly
AssemblyThe assembly from where image is loaded.
imageKey
TKeyThe key of the image to load.
isSmallImage
boolThe flag which specifies whether to load small or large image.
Returns
Remarks
Image name is used as a resource url.