From ed0eaee98f35d29cdac0ffafdb8405c32b0e17b7 Mon Sep 17 00:00:00 2001 From: liufei Date: Mon, 9 May 2022 15:25:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B8=90=E5=8F=98=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Control/UserControls/Config/ThemeControl.xaml | 132 +++++++++++++----- .../UserControls/Config/ThemeControl.xaml.cs | 70 +++++++++- Converts/BGStyleConvert.cs | 29 ++++ MainWindow.xaml | 33 ++--- MainWindow.xaml.cs | 4 +- Util/BGSettingUtil.cs | 74 ++++++++++ 6 files changed, 287 insertions(+), 55 deletions(-) create mode 100644 Converts/BGStyleConvert.cs create mode 100644 Util/BGSettingUtil.cs diff --git a/Control/UserControls/Config/ThemeControl.xaml b/Control/UserControls/Config/ThemeControl.xaml index ecc94a5..dbea9d4 100644 --- a/Control/UserControls/Config/ThemeControl.xaml +++ b/Control/UserControls/Config/ThemeControl.xaml @@ -4,42 +4,109 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:hc="https://handyorg.github.io/handycontrol" + xmlns:cvt="clr-namespace:GeekDesk.Converts" mc:Ignorable="d" Background="Transparent" d:DesignHeight="500" d:DesignWidth="450"> + + + + - - + + - - - -