UtilFormsLoadCursorFromResource Method

Creates a Cursor based on the data contained in a managed .NET resource.

Definition

Namespace: DevCase.Core.Application.Forms
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Cursor LoadCursorFromResource(
	byte[] resource,
	bool deleteTempFile = false
)

Parameters

resource  Byte
The resource data (a cursor file).
deleteTempFile  Boolean  (Optional)
If set to , delete the temp cursor file extracted from the .NET managed resource.

Return Value

Cursor
The resulting Cursor.

Exceptions

See Also