From 56584e1c993a4c13c78c81e5b69f5880fd766e81 Mon Sep 17 00:00:00 2001 From: liufei Date: Fri, 25 Mar 2022 15:29:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Constant/Constants.cs | 3 + Control/UserControls/Config/AboutControl.xaml | 17 +-- .../PannelCard/LeftCardControl.xaml | 11 +- .../PannelCard/LeftCardControl.xaml.cs | 102 +++++++++--------- GeekDesk.csproj | 6 ++ packages.config | 1 + 6 files changed, 72 insertions(+), 68 deletions(-) diff --git a/Constant/Constants.cs b/Constant/Constants.cs index 687f739..51d4411 100644 --- a/Constant/Constants.cs +++ b/Constant/Constants.cs @@ -26,6 +26,9 @@ namespace GeekDesk.Constant public static string ERROR_FILE_PATH = APP_DIR + "Error.log"; + //阴影宽度 + public static readonly int SHADOW_WIDTH = 20; + //系统图标 public static Hashtable SYSTEM_ICONS = (Hashtable)ConfigurationManager.GetSection("SystemIcons"); diff --git a/Control/UserControls/Config/AboutControl.xaml b/Control/UserControls/Config/AboutControl.xaml index b8f50d6..7a778b1 100644 --- a/Control/UserControls/Config/AboutControl.xaml +++ b/Control/UserControls/Config/AboutControl.xaml @@ -4,7 +4,6 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:cvt="clr-namespace:GeekDesk.Converts" - xmlns:local="clr-namespace:GeekDesk.Control.UserControls.PannelCard" xmlns:hc="https://handyorg.github.io/handycontrol" mc:Ignorable="d" Background="Transparent" @@ -22,11 +21,11 @@ - - @@ -62,17 +61,9 @@ - + - diff --git a/Control/UserControls/PannelCard/LeftCardControl.xaml b/Control/UserControls/PannelCard/LeftCardControl.xaml index 911b851..4bea4b6 100644 --- a/Control/UserControls/PannelCard/LeftCardControl.xaml +++ b/Control/UserControls/PannelCard/LeftCardControl.xaml @@ -3,7 +3,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:local="clr-namespace:GeekDesk.Control.UserControls.PannelCard" xmlns:hc="https://handyorg.github.io/handycontrol" xmlns:cvt="clr-namespace:GeekDesk.Converts" xmlns:DraggAnimatedPanel="clr-namespace:DraggAnimatedPanel" @@ -22,7 +21,7 @@ - + @@ -49,8 +48,12 @@ - - + + + + + +