From 5866a810f0a98c979a397d64734e5c53b4a9646f Mon Sep 17 00:00:00 2001 From: Sunny Date: Mon, 28 Aug 2023 22:44:25 +0800 Subject: [PATCH] =?UTF-8?q?*=20UIDropControl:=20=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=A1=86=E6=8C=89=E9=92=AE=E5=9B=BE=E6=A0=87=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Controls/DropItem/UIDropControl.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SunnyUI/Controls/DropItem/UIDropControl.cs b/SunnyUI/Controls/DropItem/UIDropControl.cs index 3d57a963..7dbcb688 100644 --- a/SunnyUI/Controls/DropItem/UIDropControl.cs +++ b/SunnyUI/Controls/DropItem/UIDropControl.cs @@ -26,11 +26,13 @@ * 2023-05-12: V3.3.6 重构DrawString函数 * 2023-05-16: V3.3.6 重构DrawFontImage函数 * 2023-08-24: V3.4.2 修改背景色后编辑框颜色修复 + * 2023-08-28: V3.4.2 下拉框按钮图标增加编辑器 ******************************************************************************/ using System; using System.ComponentModel; using System.Drawing; +using System.Drawing.Design; using System.Drawing.Drawing2D; using System.Windows.Forms; @@ -269,6 +271,7 @@ namespace Sunny.UI [DefaultValue(61703)] [Description("正常显示时字体图标"), Category("SunnyUI")] + [Editor("Sunny.UI.UIImagePropertyEditor, " + AssemblyRefEx.SystemDesign, typeof(UITypeEditor))] public int SymbolNormal { get => symbolNormal; @@ -281,6 +284,7 @@ namespace Sunny.UI [DefaultValue(61702)] [Description("下拉框显示时字体图标"), Category("SunnyUI")] + [Editor("Sunny.UI.UIImagePropertyEditor, " + AssemblyRefEx.SystemDesign, typeof(UITypeEditor))] public int SymbolDropDown { get; set; } = 61702; protected virtual void CreateInstance()