From 4c8a86bce9a4f19322935d91917576f6460a40bb Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期三, 03 九月 2025 09:23:21 +0800 Subject: [PATCH] 调整空值报错的问题 --- DevApp/Gs.DevApp/Properties/Settings.Designer.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/Properties/Settings.Designer.cs b/DevApp/Gs.DevApp/Properties/Settings.Designer.cs index f128089..75cc51f 100644 --- a/DevApp/Gs.DevApp/Properties/Settings.Designer.cs +++ b/DevApp/Gs.DevApp/Properties/Settings.Designer.cs @@ -70,5 +70,17 @@ this["fontSizeName"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool isWeight { + get { + return ((bool)(this["isWeight"])); + } + set { + this["isWeight"] = value; + } + } } } -- Gitblit v1.9.3