From 2b5953f2c3e7edffdd1700104e840b3cee95ba8e Mon Sep 17 00:00:00 2001 From: chenren Date: Tue, 28 Jun 2022 17:18:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86UIDoubleUpDown?= =?UTF-8?q?=E5=92=8CUIIntegerUpDown=E4=B8=8D=E8=83=BD=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E9=A2=9C=E8=89=B2=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Controls/UIDoubleUpDown.cs | 2 ++ SunnyUI/Controls/UIIntegerUpDown.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/SunnyUI/Controls/UIDoubleUpDown.cs b/SunnyUI/Controls/UIDoubleUpDown.cs index cedc724d..db8d00f1 100644 --- a/SunnyUI/Controls/UIDoubleUpDown.cs +++ b/SunnyUI/Controls/UIDoubleUpDown.cs @@ -382,5 +382,7 @@ namespace Sunny.UI btnAdd.Width = btnDec.Width = buttonWidth; } } + + public override Color ForeColor { get => pnlValue.ForeColor; set => pnlValue.ForeColor = value; } } } \ No newline at end of file diff --git a/SunnyUI/Controls/UIIntegerUpDown.cs b/SunnyUI/Controls/UIIntegerUpDown.cs index 8e90a278..59e3c75e 100644 --- a/SunnyUI/Controls/UIIntegerUpDown.cs +++ b/SunnyUI/Controls/UIIntegerUpDown.cs @@ -359,5 +359,6 @@ namespace Sunny.UI btnAdd.Width = btnDec.Width = buttonWidth; } } + public override Color ForeColor { get => pnlValue.ForeColor; set => pnlValue.ForeColor = value; } } } \ No newline at end of file