diff --git a/AA-Forms/FormEinstellung.cs b/AA-Forms/FormEinstellung.cs index 3b3c02e..4a1e8ef 100644 --- a/AA-Forms/FormEinstellung.cs +++ b/AA-Forms/FormEinstellung.cs @@ -55,15 +55,13 @@ namespace Deckungsbeitrag this.comboBoxSWSDrucker.Items.Add(printer); } - _settings.Load(); - this.comboBoxEtikettDrucker.SelectedText = _settings.DruckerEtikett; - this.comboBoxSWSDrucker.SelectedText = _settings.DruckerSWS; - this.numericUpDownSWSKopien.Value = _settings.CopiesSWS; Load_Settings(); } private void Load_Settings() { + _settings.Load(); + //TODO: Settings hier ändern auf UserSettingsManager Klasse. this.checkBoxMaxWert.Checked = Settings.Default.MaxChecked; this.checkBoxMinWert.Checked = Settings.Default.MinChecked; @@ -74,14 +72,16 @@ namespace Deckungsbeitrag this.textBoxSortiment.Text = ConfigurationManager.AppSettings["SortimentPfad"]; this.textBoxRatingbild.Text = ConfigurationManager.AppSettings["BildPfad"]; + // Ab hier wurde bereits auf UserSettingsManager umgebaut. + this.comboBoxEtikettDrucker.SelectedText = _settings.DruckerEtikett; + this.comboBoxSWSDrucker.SelectedText = _settings.DruckerSWS; + this.numericUpDownSWSKopien.Value = _settings.CopiesSWS; + + foreach (Button btn in this.groupBoxFarben.Controls.OfType