UtilFormsCenterToScreen(Control, Screen) Method

Centers the bounds of the specified Control (normally a Form) to the target screen.

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 Point CenterToScreen(
	Control ctrl,
	Screen display
)

Parameters

ctrl  Control
The source Control.
display  Screen
The target Screen.

Return Value

Point
The new coordinates of the source Control.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also