How do splash screens support multiple monitors?
1 answer
I would recommend this article from CodeProject , it helped me create my first screen saver and talk about multi-monitor support.
System.Windows.Forms.Screen
the class contains all the information you need about how many monitors and what the boundaries of those monitors are. The property AllScreens
would be a good place to start.
for (int i = Screen.AllScreens.GetLowerBound(0); i <= Screen.AllScreens.GetUpperBound(0); i++)
{
ScreensaverFormList[i].Bounds = Screen.AllScreens[i].Bounds;
}
+3
source to share