/// <summary> /// Display the form on each of the computer's monitors. /// </summary> static void ShowScreenSaver(FlipItSettings settings) { foreach (var screen in Screen.AllScreens) { var screenSettings = settings.GetScreen(screen.DeviceName); var form = new MainForm(screen.Bounds, settings, screenSettings); form.Show(); } }
/// <summary> /// Display the form on each of the computer's monitors. /// </summary> static void ShowScreenSaver(FlipItSettings settings) { foreach (var screen in Screen.AllScreens) { var cleanDeviceName = CleanDeviceName(screen.DeviceName); var screenSettings = settings.GetScreen(cleanDeviceName); var form = new MainForm(screen.Bounds, settings.Display24HrTime, screenSettings); form.Show(); } }