From 637e28138df481199a15af4776660be5a4cf3877 Mon Sep 17 00:00:00 2001 From: ryh Date: Mon, 15 Mar 2021 15:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TestZ3950/App.config | 20 ++++---- TestZ3950/Properties/Resources.Designer.cs | 60 ++++++++++------------ TestZ3950/Properties/Settings.Designer.cs | 2 +- TestZ3950/TestZ3950.csproj | 4 +- WebMarcEditor/WebMarcEditor.csproj | 5 +- WebZ/WebZ.csproj | 1 + dp-library | 2 +- dp2weixinP2P/dp2weixinWeb.csproj | 1 + 8 files changed, 46 insertions(+), 49 deletions(-) diff --git a/TestZ3950/App.config b/TestZ3950/App.config index 511d5db6..bf59c7a7 100644 --- a/TestZ3950/App.config +++ b/TestZ3950/App.config @@ -1,30 +1,30 @@ - + - -
+ +
- + - + - + - + - + - + - \ No newline at end of file + diff --git a/TestZ3950/Properties/Resources.Designer.cs b/TestZ3950/Properties/Resources.Designer.cs index b7811f16..823e1633 100644 --- a/TestZ3950/Properties/Resources.Designer.cs +++ b/TestZ3950/Properties/Resources.Designer.cs @@ -1,69 +1,61 @@ //------------------------------------------------------------------------------ // // 此代码由工具生成。 -// 运行时版本: 4.0.30319.42000 +// 运行时版本:4.0.30319.42000 // -// 对此文件的更改可能导致不正确的行为,如果 -// 重新生成代码,则所做更改将丢失。 +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace TestZ3950.Properties -{ - - +namespace TestZ3950.Properties { + using System; + + /// - /// 强类型资源类,用于查找本地化字符串等。 + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// - /// 返回此类使用的缓存 ResourceManager 实例。 + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TestZ3950.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// - /// 覆盖当前线程的 CurrentUICulture 属性 - /// 使用此强类型的资源类的资源查找。 + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/TestZ3950/Properties/Settings.Designer.cs b/TestZ3950/Properties/Settings.Designer.cs index 33dedfc3..24488cb8 100644 --- a/TestZ3950/Properties/Settings.Designer.cs +++ b/TestZ3950/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace TestZ3950.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/TestZ3950/TestZ3950.csproj b/TestZ3950/TestZ3950.csproj index eba16867..b61247da 100644 --- a/TestZ3950/TestZ3950.csproj +++ b/TestZ3950/TestZ3950.csproj @@ -8,9 +8,10 @@ WinExe TestZ3950 TestZ3950 - v4.6.1 + v4.7.2 512 true + AnyCPU @@ -64,6 +65,7 @@ True Resources.resx + True SettingsSingleFileGenerator diff --git a/WebMarcEditor/WebMarcEditor.csproj b/WebMarcEditor/WebMarcEditor.csproj index a4bfe943..2d8f5dd6 100644 --- a/WebMarcEditor/WebMarcEditor.csproj +++ b/WebMarcEditor/WebMarcEditor.csproj @@ -5,11 +5,12 @@ - + - + + diff --git a/WebZ/WebZ.csproj b/WebZ/WebZ.csproj index 2c34f963..39986592 100644 --- a/WebZ/WebZ.csproj +++ b/WebZ/WebZ.csproj @@ -26,6 +26,7 @@ + diff --git a/dp-library b/dp-library index 23d2a875..1e341459 160000 --- a/dp-library +++ b/dp-library @@ -1 +1 @@ -Subproject commit 23d2a875ea6c4426f6a2e17a17e53b77c392a1e4 +Subproject commit 1e341459d914098af12006a33d281e100e43b9ee diff --git a/dp2weixinP2P/dp2weixinWeb.csproj b/dp2weixinP2P/dp2weixinWeb.csproj index 29290531..e9b86b11 100644 --- a/dp2weixinP2P/dp2weixinWeb.csproj +++ b/dp2weixinP2P/dp2weixinWeb.csproj @@ -118,6 +118,7 @@ + False ..\packages\WebGrease.1.6.0\lib\WebGrease.dll