From a8fc15abe3a191e667fa844fc0b1e772291dc660 Mon Sep 17 00:00:00 2001 From: Sunny Date: Sun, 19 Nov 2023 23:03:47 +0800 Subject: [PATCH] =?UTF-8?q?*=20UIForm:=20=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4ShowShadow=E8=BE=B9=E6=A1=86=E9=98=B4=E5=BD=B1?= =?UTF-8?q?=E6=89=93=E5=BC=80=EF=BC=8CShowRadius=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=9C=86=E8=A7=92=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Forms/UIForm.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SunnyUI/Forms/UIForm.cs b/SunnyUI/Forms/UIForm.cs index 51d8e3d6..2d96b57a 100644 --- a/SunnyUI/Forms/UIForm.cs +++ b/SunnyUI/Forms/UIForm.cs @@ -50,6 +50,7 @@ * 2023-07-27: V3.4.1 默认提示弹窗TopMost为true * 2023-10-09: V3.5.0 增加一个在窗体显示后延时执行的事件 * 2023-11-05: V3.5.2 重构主题 + * 2023-11-19: V3.5.2 修改默认ShowShadow边框阴影打开,ShowRadius显示圆角关闭 ******************************************************************************/ using System; @@ -1418,13 +1419,13 @@ namespace Sunny.UI /// /// 是否显示圆角 /// - private bool _showRadius = true; + private bool _showRadius = false; /// /// 是否显示圆角 /// [Description("是否显示圆角"), Category("SunnyUI")] - [DefaultValue(true)] + [DefaultValue(false)] public bool ShowRadius { get @@ -1442,7 +1443,7 @@ namespace Sunny.UI /// /// 是否显示阴影 /// - private bool _showShadow; + private bool _showShadow = true; #region 边框阴影 @@ -1450,7 +1451,7 @@ namespace Sunny.UI /// 是否显示阴影 /// [Description("是否显示阴影"), Category("SunnyUI")] - [DefaultValue(false)] + [DefaultValue(true)] public bool ShowShadow { get => _showShadow;