From f8d02b128ea9456716a44ee940f552eefd1bed3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=B0=E7=8E=AE=20=E7=8E=8B?= Date: Mon, 17 Apr 2023 13:37:36 -0500 Subject: [PATCH 01/20] Begin implementing GUI save preset settings --- GUI/MainWindow.xaml | 21 +-- GUI/TaskWindows/SearchTaskWindow.xaml | 18 ++ GUI/TaskWindows/SearchTaskWindow.xaml.cs | 44 ++++- GUI/Views/SaveSettingsWindow.xaml | 42 +++++ GUI/Views/SaveSettingsWindow.xaml.cs | 31 ++++ GuiFunctions/DelegateCommand.cs | 64 +++++++ GuiFunctions/GuiFunctions.csproj | 1 + GuiFunctions/RelayCommand.cs | 64 +++++++ GuiFunctions/TomlFileFolderSerializer.cs | 143 +++++++++++++++ .../ViewModels/TaskSettingViewModel.cs | 169 ++++++++++++++++++ Test/SaveSettingsTests.cs | 81 +++++++++ 11 files changed, 659 insertions(+), 19 deletions(-) create mode 100644 GUI/Views/SaveSettingsWindow.xaml create mode 100644 GUI/Views/SaveSettingsWindow.xaml.cs create mode 100644 GuiFunctions/DelegateCommand.cs create mode 100644 GuiFunctions/RelayCommand.cs create mode 100644 GuiFunctions/TomlFileFolderSerializer.cs create mode 100644 GuiFunctions/ViewModels/TaskSettingViewModel.cs create mode 100644 Test/SaveSettingsTests.cs diff --git a/GUI/MainWindow.xaml b/GUI/MainWindow.xaml index 64b1998e7..ddd9321c8 100644 --- a/GUI/MainWindow.xaml +++ b/GUI/MainWindow.xaml @@ -432,32 +432,33 @@ - + +