internal void SetFormValues() { parentForm.applyingSettings = true; cbAutoStart.Checked = parentForm.CheckAutoRunState(); this.cbStartMinimized.Checked = this.parentForm.settings.StartMinimized; cbCheckForUpdates.Checked = this.parentForm.settings.CheckForUpdate; cbUseHSV.Checked = this.parentForm.settings.UseHSV; numWallpaperChangeMins.Value = this.parentForm.settings.WallpaperChangeFrequencyMins; this.txtSearch.Text = parentForm.settings.LocationPreset.ToString(CultureInfo.InvariantCulture); this.lblCityFound.Text = "Found: " + parentForm.settings.LocationPreset.ToString(CultureInfo.InvariantCulture); txtLatitude.Text = this.parentForm.settings.Latitude.ToString(CultureInfo.InvariantCulture); txtLongitude.Text = this.parentForm.settings.Longitude.ToString(CultureInfo.InvariantCulture); cbUseSunriseSunset.Checked = this.parentForm.settings.UseSunriseSunset; this.pnlBackgroundColourDark.BackColor = this.parentForm.settings.BackgroundColourDark; this.pnlBackgroundColourLight.BackColor = this.parentForm.settings.BackgroundColourLight; cbShowToolTips.Checked = parentForm.settings.ShowToolTips; //cbResetImageOptions.SelectedItem = parentForm.settings.ImageAdjustmentName; txtOffsetMins.Text = parentForm.settings.TimeOffsetMins.ToString(CultureInfo.InvariantCulture); this.cbShowSplash.Checked = Properties.Settings.Default.ShowSplash; //this.cbPortable.Checked = Properties.Settings.Default.Portable; cbImageOrder.SelectedItem = this.parentForm.settings.WallpaperOrder.ToString(); cbWallpaperMode.SelectedItem = parentForm.settings.WallpaperMode.ToString(); cbMultiMonitorMode.SelectedItem = parentForm.settings.MultiMonitorMode.ToString(); numImageSizeScalePercent.Value = (int)(this.parentForm.settings.ImageSizeScalePercent); SetLightDarkTimeControls(); SetHoursImages(); GetSunriseSunset(); SetUseSunriseSunset(); setMultiMonitorControls(); SetImageScalePercent(); parentForm.applyingSettings = false; }