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: 1 changed files with 2 additions and 1 deletions.
Modified +2 -1
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);
         }