From 232dff06f746b80bc2ae8581181a2c11df9f90b3 Mon Sep 17 00:00:00 2001 From: czz_y Date: Tue, 20 Aug 2024 10:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE=E9=A2=9C?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controls/SystemSet.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Controls/SystemSet.cs b/Controls/SystemSet.cs index 6ee7ff1..36c2eb5 100644 --- a/Controls/SystemSet.cs +++ b/Controls/SystemSet.cs @@ -55,12 +55,16 @@ namespace AntdUIDemo.Controls AntdUI.Config.IsLight = true; Window.BackColor = Color.White; Window.ForeColor = Color.Black; + BackColor = Color.White; + ForeColor = Color.Black; } else { AntdUI.Config.IsDark = true;// 设置为深色模式 Window.BackColor = Color.Black; Window.ForeColor = Color.White; + BackColor = Color.Black; + ForeColor = Color.White; } }