Retrieves the control associated with the handle and casts it to the target type. If the target type is a second-base class in multiple inheritance tree, uses reflection to cast the control to the second-base instance.

Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static Object FromHandle(
	SalWindowHandle handle,
	Type type
)

Parameters

handle
Type: PPJ.Runtime..::..SalWindowHandle
type
Type: System..::..Type

Return Value

See Also