Skip to content

Instantly share code, notes, and snippets.

private static bool StartPositionIsWithinBounds(Point startPosition)
{
foreach (Screen screen in Screen.AllScreens)
{
if (screen.Bounds.Contains(startPosition))
{
return true;
}
}