* UIDropControl: 修改背景色后编辑框颜色修复

This commit is contained in:
Sunny 2023-08-24 13:29:36 +08:00
parent 45bb573810
commit 01e292b111

View File

@ -25,6 +25,7 @@
* 2023-05-08: V3.3.6
* 2023-05-12: V3.3.6 DrawString函数
* 2023-05-16: V3.3.6 DrawFontImage函数
* 2023-08-24: V3.4.2
******************************************************************************/
using System;
@ -157,7 +158,8 @@ namespace Sunny.UI
protected override void OnEnabledChanged(EventArgs e)
{
base.OnEnabledChanged(e);
edit.BackColor = Enabled ? Color.White : GetFillColor();
//edit.BackColor = Enabled ? Color.White : GetFillColor();
edit.BackColor = GetFillColor();
}
private void Edit_LostFocus(object sender, EventArgs e)