Skip to content

Instantly share code, notes, and snippets.

@ironfounderson
Created May 24, 2009 13:52
Show Gist options
  • Save ironfounderson/117102 to your computer and use it in GitHub Desktop.
Save ironfounderson/117102 to your computer and use it in GitHub Desktop.
private static bool StartPositionIsWithinBounds(Point startPosition)
{
foreach (Screen screen in Screen.AllScreens)
{
if (screen.Bounds.Contains(startPosition))
{
return true;
}
}
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment