From c7dadee6c9145c1b9d261c28e1e78803a3bacce1 Mon Sep 17 00:00:00 2001 From: DDeenis Date: Mon, 22 Jan 2024 18:51:50 +0000 Subject: [PATCH] add experimental settings --- MystatDesktopWpf/App.xaml | 1 + .../Converters/StringToResource.cs | 22 ++++++++++ MystatDesktopWpf/Languages/lang.en-US.xaml | 7 +++ MystatDesktopWpf/Languages/lang.ru-RU.xaml | 7 +++ MystatDesktopWpf/Languages/lang.uk-UA.xaml | 9 +++- MystatDesktopWpf/Services/SettingsService.cs | 2 + .../ExperimentalFeaturesSubSettings.cs | 31 +++++++++++++ .../DialogContent/UploadHomework.xaml.cs | 7 ++- .../UserControls/Menus/Homeworks.xaml | 27 ++++++++---- .../Menus/LessonEvaluation.xaml.cs | 7 +-- .../UserControls/Menus/Settings.xaml | 1 + .../ExperimentalSettings.xaml | 22 ++++++++++ .../ExperimentalSettings.xaml.cs | 44 +++++++++++++++++++ .../ViewModels/HomeworksViewModel.cs | 31 ++++++++++++- mystatapi-cs | 2 +- 15 files changed, 203 insertions(+), 17 deletions(-) create mode 100644 MystatDesktopWpf/Converters/StringToResource.cs create mode 100644 MystatDesktopWpf/SubSettings/ExperimentalFeaturesSubSettings.cs create mode 100644 MystatDesktopWpf/UserControls/SettingsSections/ExperimentalSettings.xaml create mode 100644 MystatDesktopWpf/UserControls/SettingsSections/ExperimentalSettings.xaml.cs diff --git a/MystatDesktopWpf/App.xaml b/MystatDesktopWpf/App.xaml index e0e328f..93ff040 100644 --- a/MystatDesktopWpf/App.xaml +++ b/MystatDesktopWpf/App.xaml @@ -17,6 +17,7 @@ +