public SettingsForm()
 {
     InitializeComponent();
     wallpaperMonsterConfiguration = new WallpaperMonsterConfiguration();
     wallpaperMonsterService       = new WallpaperMonsterService(wallpaperMonsterConfiguration, ScreenResolution.findScreenResolution(this));
     wallpaperMonsterTimer         = new WallpaperMonsterTimer(wallpaperMonsterService);
     periodSettings.Value          = wallpaperMonsterConfiguration.FindPeriodDecimal();
     wallpaperCheckBox.Checked     = wallpaperMonsterConfiguration.FindShouldChangeWallpaper();
     lockScreenCheckBox.Checked    = wallpaperMonsterConfiguration.FindShouldChangeLockScreen();
     wallpaperMonsterTimer.ChangeTimerPeriod(wallpaperMonsterConfiguration.FindPeriod());
     prepareCategoryCombobox();
 }
 public UnsplashImageProvider(WallpaperMonsterConfiguration wallpaperMonsterConfiguration)
 {
     this.wallpaperMonsterConfiguration = wallpaperMonsterConfiguration;
 }
 public WallpaperMonsterService(WallpaperMonsterConfiguration wallpaperMonsterConfiguration, Rectangle dimensions)
 {
     this.dimensions = dimensions;
     this.wallpaperMonsterConfiguration = wallpaperMonsterConfiguration;
 }