Creates a picture box.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static PictureBox CreatePictureBox(
	Image image
)

Parameters

image
Type: System.Drawing..::.Image
A shown picture.

Return Value

Returns a created control.

Exceptions

ExceptionCondition
System..::.ArgumentNullException image is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also