diff --git a/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml b/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml
index 39745a10..6bd7805d 100644
--- a/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml
+++ b/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml
@@ -64,11 +64,11 @@
-
+
-
+
diff --git a/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs b/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs
index ca01b96e..70fbe388 100644
--- a/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs
+++ b/src/ARKServerManager/UserControls/GlobalSettingsControl.xaml.cs
@@ -33,7 +33,8 @@ namespace ServerManagerTool
public static readonly DependencyProperty IsAdministratorProperty = DependencyProperty.Register(nameof(IsAdministrator), typeof(bool), typeof(GlobalSettingsControl), new PropertyMetadata(false));
public static readonly DependencyProperty ConfigProperty = DependencyProperty.Register(nameof(Config), typeof(Config), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public static readonly DependencyProperty CommonConfigProperty = DependencyProperty.Register(nameof(CommonConfig), typeof(CommonConfig), typeof(GlobalSettingsControl), new PropertyMetadata(null));
- public static readonly DependencyProperty WindowStatesProperty = DependencyProperty.Register(nameof(WindowStates), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
+ public static readonly DependencyProperty WindowStatesMainWindowProperty = DependencyProperty.Register(nameof(WindowStatesMainWindow), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
+ public static readonly DependencyProperty WindowStatesServerMonitorProperty = DependencyProperty.Register(nameof(WindowStatesServerMonitor), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public static readonly DependencyProperty DiscordBotLogLevelsProperty = DependencyProperty.Register(nameof(DiscordBotLogLevels), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public static readonly DependencyProperty DiscordBotWhitelistProperty = DependencyProperty.Register(nameof(DiscordBotWhitelist), typeof(List), typeof(GlobalSettingsControl), new PropertyMetadata(null));
@@ -91,10 +92,16 @@ namespace ServerManagerTool
set { SetValue(IsAdministratorProperty, value); }
}
- public ComboBoxItemList WindowStates
+ public ComboBoxItemList WindowStatesMainWindow
{
- get { return (ComboBoxItemList)GetValue(WindowStatesProperty); }
- set { SetValue(WindowStatesProperty, value); }
+ get { return (ComboBoxItemList)GetValue(WindowStatesMainWindowProperty); }
+ set { SetValue(WindowStatesMainWindowProperty, value); }
+ }
+
+ public ComboBoxItemList WindowStatesServerMonitor
+ {
+ get { return (ComboBoxItemList)GetValue(WindowStatesServerMonitorProperty); }
+ set { SetValue(WindowStatesServerMonitorProperty, value); }
}
public ComboBoxItemList DiscordBotLogLevels
@@ -502,7 +509,7 @@ namespace ServerManagerTool
comboBoxList.Add(new Common.Model.ComboBoxItem(windowState.ToString(), displayMember));
}
- this.WindowStates = comboBoxList;
+ this.WindowStatesMainWindow = comboBoxList;
if (this.WindowStateMainWindowComboBox != null)
{
this.WindowStateMainWindowComboBox.SelectedValue = selectedValue;
@@ -520,7 +527,7 @@ namespace ServerManagerTool
comboBoxList.Add(new Common.Model.ComboBoxItem(windowState.ToString(), displayMember));
}
- this.WindowStates = comboBoxList;
+ this.WindowStatesServerMonitor = comboBoxList;
if (this.WindowStateServerMonitorComboBox != null)
{
this.WindowStateServerMonitorComboBox.SelectedValue = selectedValue;
diff --git a/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml b/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml
index 0a3f9046..77d0f99c 100644
--- a/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml
+++ b/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml
@@ -68,11 +68,11 @@
-
+
-
+
diff --git a/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml.cs b/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml.cs
index 046b2cc7..1d8a4ea9 100644
--- a/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml.cs
+++ b/src/ConanServerManager/UserControls/GlobalSettingsControl.xaml.cs
@@ -31,7 +31,8 @@ namespace ServerManagerTool
public static readonly DependencyProperty AppInstanceProperty = DependencyProperty.Register(nameof(AppInstance), typeof(App), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public static readonly DependencyProperty IsAdministratorProperty = DependencyProperty.Register(nameof(IsAdministrator), typeof(bool), typeof(GlobalSettingsControl), new PropertyMetadata(false));
- public static readonly DependencyProperty WindowStatesProperty = DependencyProperty.Register(nameof(WindowStates), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
+ public static readonly DependencyProperty WindowStatesMainWindowProperty = DependencyProperty.Register(nameof(WindowStatesMainWindow), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
+ public static readonly DependencyProperty WindowStatesServerMonitorProperty = DependencyProperty.Register(nameof(WindowStatesServerMonitor), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public static readonly DependencyProperty DiscordBotLogLevelsProperty = DependencyProperty.Register(nameof(DiscordBotLogLevels), typeof(ComboBoxItemList), typeof(GlobalSettingsControl), new PropertyMetadata(null));
public static readonly DependencyProperty DiscordBotWhitelistProperty = DependencyProperty.Register(nameof(DiscordBotWhitelist), typeof(List), typeof(GlobalSettingsControl), new PropertyMetadata(null));
@@ -83,10 +84,16 @@ namespace ServerManagerTool
set { SetValue(IsAdministratorProperty, value); }
}
- public ComboBoxItemList WindowStates
+ public ComboBoxItemList WindowStatesMainWindow
{
- get { return (ComboBoxItemList)GetValue(WindowStatesProperty); }
- set { SetValue(WindowStatesProperty, value); }
+ get { return (ComboBoxItemList)GetValue(WindowStatesMainWindowProperty); }
+ set { SetValue(WindowStatesMainWindowProperty, value); }
+ }
+
+ public ComboBoxItemList WindowStatesServerMonitor
+ {
+ get { return (ComboBoxItemList)GetValue(WindowStatesServerMonitorProperty); }
+ set { SetValue(WindowStatesServerMonitorProperty, value); }
}
public string Version
@@ -504,7 +511,7 @@ namespace ServerManagerTool
windowStates.Add(new Common.Model.ComboBoxItem(windowState.ToString(), displayMember));
}
- this.WindowStates = windowStates;
+ this.WindowStatesMainWindow = windowStates;
if (this.WindowStateMainWindowComboBox != null)
{
this.WindowStateMainWindowComboBox.SelectedValue = selectedValue;
@@ -522,7 +529,7 @@ namespace ServerManagerTool
comboBoxList.Add(new Common.Model.ComboBoxItem(windowState.ToString(), displayMember));
}
- this.WindowStates = comboBoxList;
+ this.WindowStatesServerMonitor = comboBoxList;
if (this.WindowStateServerMonitorComboBox != null)
{
this.WindowStateServerMonitorComboBox.SelectedValue = selectedValue;