Click or drag to resize

YWindowFromControlT Method

Create a new YWindow from a given IYWindow.

Namespace: Upsilon.Common.Forms
Assembly: Upsilon.Common.Forms (in Upsilon.Common.Forms.dll) Version: 2.3.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public static YWindow FromControl<T>(
	T control
)
where T : Control, IYWindow

Parameters

control  T
The main control of the new window.

Type Parameters

T
The main control type. It must be a Control and a IYWindow.

Return Value

YWindow
See Also