miniSql

vs2019汉化99%
zgc123@gmail.com authored at 11/28/2023 4:10:34 PM zgc123@gmail.com committed at 11/28/2023 4:10:51 PM
0ced910
Tree
1 Parent(s) 93a03c2
Summary: 2 changed files with 3 additions and 2 deletions.
Modified +1 -1
Modified +2 -1
Modified +1 -1
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
index bce056e..de27f69 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/Commands/EditConnectionsFormCommand.cs
@@ -15,7 +15,7 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager.Commands
     {
         /// <summary>Initializes a new instance of the <see cref="EditConnectionsFormCommand"/> class.</summary>
         public EditConnectionsFormCommand()
-            : base("&E编辑连接字符串")
+            : base("(&E)编辑连接字符串")
         {
             SmallImage = ImageResource.database_edit;
         }
Modified +2 -1
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
index ac3a2fe..232a5db 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/ConnectionStringsManager/ConnectionStringsManagerLoader.cs
@@ -26,7 +26,8 @@ namespace MiniSqlQuery.PlugIns.ConnectionStringsManager
         public override void InitializePlugIn()
         {
             Services.RegisterComponent<DbConnectionsForm>("DbConnectionsForm");
-            ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("edit");
+            //zhenggc .GetMenuItem("edit"); 修改 GetMenuItem("editmenu")
+            ToolStripMenuItem editMenu = Services.HostWindow.GetMenuItem("editmenu");
             editMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<EditConnectionsFormCommand>());
             Services.HostWindow.AddToolStripCommand<EditConnectionsFormCommand>(null);
         }