From 93fbaa60018d13f11091b75d843fc78ee56fc503 Mon Sep 17 00:00:00 2001 From: dbuechel Date: Wed, 19 Feb 2020 09:41:38 +0100 Subject: [PATCH] SEBWIN-358: Removed configuration tab for Additional Resources. --- SebWindowsConfig/SebWindowsConfigForm.cs | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/SebWindowsConfig/SebWindowsConfigForm.cs b/SebWindowsConfig/SebWindowsConfigForm.cs index 4588ef37..386e1644 100644 --- a/SebWindowsConfig/SebWindowsConfigForm.cs +++ b/SebWindowsConfig/SebWindowsConfigForm.cs @@ -535,17 +535,18 @@ namespace SebWindowsConfig textBoxRestartExamText.Text = (String)SEBSettings.settingsCurrent[SEBSettings.KeyRestartExamText]; // Group AdditionalResources - tabPageAdditionalResources.Controls.Clear(); - tabPageAdditionalResources.Controls.Add(new AdditionalResources()); + tabControlSebWindowsConfig.TabPages.Remove(tabPageAdditionalResources); + //tabPageAdditionalResources.Controls.Clear(); + //tabPageAdditionalResources.Controls.Add(new AdditionalResources()); - FillStartupResourcesinCombobox(); - foreach (KeyValuePair item in comboBoxAdditionalResourceStartUrl.Items) - { - if (item.Key == SEBSettings.settingsCurrent[SEBSettings.KeyStartResource].ToString()) - { - comboBoxAdditionalResourceStartUrl.SelectedItem = item; - } - } + //FillStartupResourcesinCombobox(); + //foreach (KeyValuePair item in comboBoxAdditionalResourceStartUrl.Items) + //{ + // if (item.Key == SEBSettings.settingsCurrent[SEBSettings.KeyStartResource].ToString()) + // { + // comboBoxAdditionalResourceStartUrl.SelectedItem = item; + // } + //} // Group "Applications" checkBoxMonitorProcesses .Checked = (Boolean)SEBSettings.settingsCurrent[SEBSettings.KeyMonitorProcesses];