From 3e77c3a1bc58ed226e573e79e6efcb73a69fc1c4 Mon Sep 17 00:00:00 2001
From: Tom <17379620@qq.com>
Date: Tue, 20 Aug 2024 11:16:06 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Modal=20=E6=9C=AA=E7=9B=91?=
=?UTF-8?q?=E6=8E=A7=E4=B8=BB=E9=A2=98=E5=8F=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
AntdUIDemo.csproj | 21 ++++++++++++++++++---
Controls/SystemSet.cs | 4 ----
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/AntdUIDemo.csproj b/AntdUIDemo.csproj
index 54b56d2..6294b94 100644
--- a/AntdUIDemo.csproj
+++ b/AntdUIDemo.csproj
@@ -25,15 +25,30 @@
-
+
-
+
-
+
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
\ No newline at end of file
diff --git a/Controls/SystemSet.cs b/Controls/SystemSet.cs
index 36c2eb5..6ee7ff1 100644
--- a/Controls/SystemSet.cs
+++ b/Controls/SystemSet.cs
@@ -55,16 +55,12 @@ 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;
}
}