From 24ba279b18153af3988471e2b509a90a5fc96ce4 Mon Sep 17 00:00:00 2001 From: liufei Date: Fri, 10 Dec 2021 17:58:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96=20bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E9=BC=A0=E6=A0=87=E4=B8=AD=E9=94=AE?= =?UTF-8?q?=E5=91=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.xaml | 1 + Constant/Constants.cs | 2 +- Control/Other/BacklogNotificatin.xaml | 2 +- Control/Other/CustomIconUrlDialog.xaml | 13 +- Control/Other/IconInfoDialog.xaml | 34 ++-- Control/Other/IconInfoUrlDialog.xaml | 33 ++-- .../UserControls/Config/MotionControl.xaml | 18 +- .../UserControls/Config/MotionControl.xaml.cs | 76 +++++---- Control/UserControls/Config/OtherControl.xaml | 4 +- Control/UserControls/Config/ThemeControl.xaml | 5 +- .../UserControls/Config/ThemeControl.xaml.cs | 20 ++- Control/UserControls/IconFont/IconPannel.xaml | 7 +- .../PannelCard/RightCardControl.xaml | 10 +- .../PannelCard/RightCardControl.xaml.cs | 7 +- Control/UserControls/ToDo/TodoControl.xaml | 29 +++- Control/UserControls/ToDo/TodoControl.xaml.cs | 24 ++- Control/Windows/ConfigWindow.xaml | 134 +++++++-------- Control/Windows/ConfigWindow.xaml.cs | 3 + Control/Windows/IconfontWindow.xaml | 94 ++++++---- Control/Windows/IconfontWindow.xaml.cs | 2 +- Control/Windows/ToDoInfoWindow.xaml | 122 ++++++------- Control/Windows/ToDoWindow.xaml | 101 +++++------ Control/Windows/ToDoWindow.xaml.cs | 2 + Control/Windows/UpdateWindow.xaml | 66 ++++--- Control/Windows/UpdateWindow.xaml.cs | 3 +- GeekDesk.csproj | 16 +- MainWindow.xaml | 161 +++++++++--------- MainWindow.xaml.cs | 72 +++++++- Resource/Dictionary/CommonStyle.xaml | 48 ++++++ Thread/DispatcherBuild.cs | 34 ++++ Thread/MouseHookThread.cs | 58 +++++++ Thread/UpdateThread.cs | 6 +- Util/CommonCode.cs | 42 ++++- Util/FileIcon.cs | 26 ++- Util/FileUtil.cs | 2 + Util/GlobalHotKey.cs | 17 +- Util/MarginHide.cs | 2 + Util/RegisterUtil.cs | 6 + Util/ShellContextMenu.cs | 2 + ViewModel/AppConfig.cs | 20 +++ packages.config | 4 +- 41 files changed, 877 insertions(+), 451 deletions(-) create mode 100644 Resource/Dictionary/CommonStyle.xaml create mode 100644 Thread/DispatcherBuild.cs create mode 100644 Thread/MouseHookThread.cs diff --git a/App.xaml b/App.xaml index b47e702..1e6f819 100644 --- a/App.xaml +++ b/App.xaml @@ -12,6 +12,7 @@ + diff --git a/Constant/Constants.cs b/Constant/Constants.cs index c8e0b05..e956ca2 100644 --- a/Constant/Constants.cs +++ b/Constant/Constants.cs @@ -10,7 +10,7 @@ namespace GeekDesk.Constant { public static string APP_DIR = AppDomain.CurrentDomain.BaseDirectory.Trim(); - public static string MY_NAME = "GeekDesk"; + public static string MY_NAME = "GeekDesk-D"; /// /// app数据文件路径 diff --git a/Control/Other/BacklogNotificatin.xaml b/Control/Other/BacklogNotificatin.xaml index dc1c9d6..ba35f1a 100644 --- a/Control/Other/BacklogNotificatin.xaml +++ b/Control/Other/BacklogNotificatin.xaml @@ -32,7 +32,7 @@ - + diff --git a/Control/Other/CustomIconUrlDialog.xaml b/Control/Other/CustomIconUrlDialog.xaml index fce78be..abcb6a4 100644 --- a/Control/Other/CustomIconUrlDialog.xaml +++ b/Control/Other/CustomIconUrlDialog.xaml @@ -5,7 +5,8 @@ CornerRadius="3" Width="400" Height="230" - Opacity="0.95"> + Opacity="0.95" + Style="{StaticResource BorderBG}"> - - - - + @@ -42,10 +40,9 @@ />