From 7c34dd1ad00ed201977bf9ff8739270586fe362b Mon Sep 17 00:00:00 2001 From: Space Time Date: Tue, 29 Mar 2022 21:44:39 +0800 Subject: [PATCH] =?UTF-8?q?1.1.3=20(beta)=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controls/ToggleSwitch.xaml.cs | 2 +- Ona-Pix.csproj | 20 +++++-- Pages/AppearancePage.xaml | 2 +- Pages/AppearancePage.xaml.cs | 35 ++++++++++-- Pages/BehaviorPage.xaml | 10 +++- Pages/BehaviorPage.xaml.cs | 19 +++++++ Properties/Settings.Designer.cs | 98 +++++++++++++++++++++++++++++++++ Properties/Settings.settings | 24 ++++++++ Windows/AboutWindow.xaml.cs | 36 ++++++++++++ Windows/MainWindow.xaml.cs | 50 ++++++++++++++++- 10 files changed, 283 insertions(+), 13 deletions(-) create mode 100644 Properties/Settings.Designer.cs create mode 100644 Properties/Settings.settings diff --git a/Controls/ToggleSwitch.xaml.cs b/Controls/ToggleSwitch.xaml.cs index 1354cb4..802a434 100644 --- a/Controls/ToggleSwitch.xaml.cs +++ b/Controls/ToggleSwitch.xaml.cs @@ -28,7 +28,7 @@ private void BackRec_MouseDown(object sender, MouseButtonEventArgs e) SwitchStatus(); } - private void SwitchStatus() + internal void SwitchStatus() { if (!IS_TOGGLED) { diff --git a/Ona-Pix.csproj b/Ona-Pix.csproj index dd39797..cc4cf86 100644 --- a/Ona-Pix.csproj +++ b/Ona-Pix.csproj @@ -8,10 +8,10 @@ Yet Another Pixiv Tool Space Time Space Time - 1.1.2 - 1.1.2 - 1.1.2 - 1.1.2 + 1.1.3 + 1.1.3 + 1.1.3 + 1.1.3 Tool;Pixiv;Ona;Pix Ona-Pix-Logo.ico Ona Pix Logo.png @@ -99,6 +99,11 @@ True Resources.resx + + True + True + Settings.settings + Code @@ -112,6 +117,13 @@ + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + $(DefaultXamlRuntime) diff --git a/Pages/AppearancePage.xaml b/Pages/AppearancePage.xaml index 2a69b7b..a69929b 100644 --- a/Pages/AppearancePage.xaml +++ b/Pages/AppearancePage.xaml @@ -14,7 +14,7 @@