예제 #1
0
 /// <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();
     }
 }
예제 #2
0
파일: Program.cs 프로젝트: nini-Git/FlipIt
 /// <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();
     }
 }