From 9a45899b47a4d8657e77dcaf1aa9e4b698fb0612 Mon Sep 17 00:00:00 2001 From: liufei Date: Mon, 31 May 2021 17:31:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E7=8F=AD=E5=96=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.xaml | 1 + Control/ConfigWindow.xaml | 64 +++++++-- Control/ConfigWindow.xaml.cs | 22 ++- Control/UserControls/AboutControl.xaml | 17 +++ Control/UserControls/AboutControl.xaml.cs | 28 ++++ Control/UserControls/LeftCardControl.xaml | 4 +- Control/UserControls/MotionControl.xaml | 62 ++++++++ Control/UserControls/MotionControl.xaml.cs | 38 +++++ Control/UserControls/SettingControl.xaml | 134 ------------------ Control/UserControls/ThemeControl.xaml | 88 ++++++++++++ ...ngControl.xaml.cs => ThemeControl.xaml.cs} | 14 +- GeekDesk.csproj | 22 ++- MainWindow.xaml.cs | 12 +- Resource/Dictionary/GemetryDictionary.xaml | 11 -- Resource/Dictionary/Geometry.xaml | 21 +++ 15 files changed, 354 insertions(+), 184 deletions(-) create mode 100644 Control/UserControls/AboutControl.xaml create mode 100644 Control/UserControls/AboutControl.xaml.cs create mode 100644 Control/UserControls/MotionControl.xaml create mode 100644 Control/UserControls/MotionControl.xaml.cs delete mode 100644 Control/UserControls/SettingControl.xaml create mode 100644 Control/UserControls/ThemeControl.xaml rename Control/UserControls/{SettingControl.xaml.cs => ThemeControl.xaml.cs} (85%) delete mode 100644 Resource/Dictionary/GemetryDictionary.xaml create mode 100644 Resource/Dictionary/Geometry.xaml diff --git a/App.xaml b/App.xaml index 53e826a..d3dcada 100644 --- a/App.xaml +++ b/App.xaml @@ -9,6 +9,7 @@ + diff --git a/Control/ConfigWindow.xaml b/Control/ConfigWindow.xaml index f599517..bda4749 100644 --- a/Control/ConfigWindow.xaml +++ b/Control/ConfigWindow.xaml @@ -13,7 +13,22 @@ Background="Transparent" > - + + + + @@ -27,28 +42,53 @@ - - - - - - - + + + + + + + diff --git a/Control/UserControls/MotionControl.xaml b/Control/UserControls/MotionControl.xaml new file mode 100644 index 0000000..a67defc --- /dev/null +++ b/Control/UserControls/MotionControl.xaml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Control/UserControls/MotionControl.xaml.cs b/Control/UserControls/MotionControl.xaml.cs new file mode 100644 index 0000000..1deb809 --- /dev/null +++ b/Control/UserControls/MotionControl.xaml.cs @@ -0,0 +1,38 @@ +using GeekDesk.Util; +using GeekDesk.ViewModel; +using Microsoft.Win32; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace GeekDesk.Control.UserControls +{ + /// + /// 动作设置 + /// + public partial class MotionControl : UserControl + { + public MotionControl() + { + InitializeComponent(); + } + + private void CheckBox_Unchecked(object sender, RoutedEventArgs e) + { + + } + + + } +} diff --git a/Control/UserControls/SettingControl.xaml b/Control/UserControls/SettingControl.xaml deleted file mode 100644 index 2eba87c..0000000 --- a/Control/UserControls/SettingControl.xaml +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -