From 5faf6e11b2cd939f78cbb616f9fbcb569309f70e Mon Sep 17 00:00:00 2001 From: liufei Date: Fri, 28 May 2021 18:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E4=BA=94=E5=96=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Control/ConfigWindow.xaml | 17 +- Control/UserControls/LeftCardControl.xaml | 138 +++++++ Control/UserControls/LeftCardControl.xaml.cs | 176 +++++++++ Control/UserControls/RightCardControl.xaml | 117 ++++++ Control/UserControls/RightCardControl.xaml.cs | 214 +++++++++++ Control/UserControls/SettingControl.xaml | 159 +++++--- Control/UserControls/SettingControl.xaml.cs | 6 +- Converts/DoubleToGridLength.cs | 26 ++ {Util => Converts}/HideTypeConvert.cs | 2 +- Converts/IntToCornerRadius.cs | 25 ++ {Util => Converts}/MenuWidthConvert.cs | 4 +- Converts/OpcityConvert.cs | 24 ++ GeekDesk.csproj | 21 +- MainWindow.xaml | 259 +------------ MainWindow.xaml.cs | 348 ++---------------- ViewModel/AppConfig.cs | 73 +++- 16 files changed, 983 insertions(+), 626 deletions(-) create mode 100644 Control/UserControls/LeftCardControl.xaml create mode 100644 Control/UserControls/LeftCardControl.xaml.cs create mode 100644 Control/UserControls/RightCardControl.xaml create mode 100644 Control/UserControls/RightCardControl.xaml.cs create mode 100644 Converts/DoubleToGridLength.cs rename {Util => Converts}/HideTypeConvert.cs (96%) create mode 100644 Converts/IntToCornerRadius.cs rename {Util => Converts}/MenuWidthConvert.cs (88%) create mode 100644 Converts/OpcityConvert.cs diff --git a/Control/ConfigWindow.xaml b/Control/ConfigWindow.xaml index ba5e828..f599517 100644 --- a/Control/ConfigWindow.xaml +++ b/Control/ConfigWindow.xaml @@ -12,7 +12,8 @@ AllowsTransparency="True" Background="Transparent" > - + + @@ -56,13 +57,13 @@ - - -