From 46997c6e71e1760a3738e2474886b74563281805 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Sat, 18 Jun 2022 15:29:22 +1000 Subject: [PATCH] Setting Find Changes - added a find window to find setting in the settings control. --- src/ARKServerManager/ARKServerManager.csproj | 7 + .../Globalization/en-US/en-US.xaml | 10 + src/ARKServerManager/Styles/Default.xaml | 6 + .../UserControls/ServerSettingsControl.xaml | 477 +++++++++--------- .../ServerSettingsControl.xaml.cs | 107 +++- src/ARKServerManager/VersionFeed.xml | 13 +- src/ARKServerManager/VersionFeedBeta.xml | 25 +- .../Windows/FindSettingWindow.xaml | 36 ++ .../Windows/FindSettingWindow.xaml.cs | 164 ++++++ .../AnnotatedCheckBoxAndFloatSlider.xaml.cs | 9 + .../AnnotatedCheckBoxAndIntegerSlider.xaml.cs | 9 + .../AnnotatedCheckBoxAndLongSlider.xaml.cs | 9 + .../Controls/AnnotatedSlider.xaml.cs | 20 +- .../Controls/CheckBoxAndTextBlock.xaml | 19 + .../Controls/CheckBoxAndTextBlock.xaml.cs | 48 ++ .../Extensions/StringExtensions.cs | 17 + .../ServerManager.Common.csproj | 5 + src/ServerManager.Common/Utils/WindowUtils.cs | 56 +- 18 files changed, 774 insertions(+), 263 deletions(-) create mode 100644 src/ARKServerManager/Windows/FindSettingWindow.xaml create mode 100644 src/ARKServerManager/Windows/FindSettingWindow.xaml.cs create mode 100644 src/ServerManager.Common/Controls/CheckBoxAndTextBlock.xaml create mode 100644 src/ServerManager.Common/Controls/CheckBoxAndTextBlock.xaml.cs create mode 100644 src/ServerManager.Common/Extensions/StringExtensions.cs diff --git a/src/ARKServerManager/ARKServerManager.csproj b/src/ARKServerManager/ARKServerManager.csproj index d17c1431..ad86fc83 100644 --- a/src/ARKServerManager/ARKServerManager.csproj +++ b/src/ARKServerManager/ARKServerManager.csproj @@ -264,6 +264,9 @@ DataDirectoryWindow.xaml + + FindSettingWindow.xaml + PlayerListWindow.xaml @@ -458,6 +461,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/src/ARKServerManager/Globalization/en-US/en-US.xaml b/src/ARKServerManager/Globalization/en-US/en-US.xaml index 17dfe7f8..c41346d9 100644 --- a/src/ARKServerManager/Globalization/en-US/en-US.xaml +++ b/src/ARKServerManager/Globalization/en-US/en-US.xaml @@ -993,6 +993,8 @@ + Find + Find Setting Create Support Zip Create a zip file that contains all the files necessary for use by the server manager support team to diagnose a problem. Sync @@ -5741,5 +5743,13 @@ Count: Map: + + + Find Settings + + The setting was not found: {0} + + Find + \ No newline at end of file diff --git a/src/ARKServerManager/Styles/Default.xaml b/src/ARKServerManager/Styles/Default.xaml index 761bb608..23d2a652 100644 --- a/src/ARKServerManager/Styles/Default.xaml +++ b/src/ARKServerManager/Styles/Default.xaml @@ -576,6 +576,12 @@