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 6 additions and 4 deletions.
Modified +6 -4
Modified +6 -4
diff --git a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
index 7dc7b39..6b1ccbe 100644
--- a/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
+++ b/minisqlquery-master/src/MiniSqlQuery/PlugIns/CoreApplicationPlugIn.cs
@@ -49,10 +49,12 @@ namespace MiniSqlQuery.PlugIns
             services.RegisterSingletonComponent<IMostRecentFilesService, MostRecentFilesService>("MostRecentFilesService");
             services.RegisterConfigurationObject<CoreMiniSqlQueryConfiguration>();
 
-            ToolStripMenuItem fileMenu = hostWindow.GetMenuItem("File");
-            ToolStripMenuItem editMenu = hostWindow.GetMenuItem("edit");
-            ToolStripMenuItem queryMenu = hostWindow.GetMenuItem("query");
-            ToolStripMenuItem helpMenu = hostWindow.GetMenuItem("help");
+            ToolStripMenuItem fileMenu = hostWindow.GetMenuItem("Filemenu");
+            ToolStripMenuItem editMenu = hostWindow.GetMenuItem("editmenu");
+            //ToolStripMenuItem queryMenu = hostWindow.GetMenuItem("querymenu");
+            //zhenggc queryToolStripMenuItem 2023-11-28 modify 
+            ToolStripMenuItem queryMenu = hostWindow.GetMenuItem("queryToolStripMenuItem");
+            ToolStripMenuItem helpMenu = hostWindow.GetMenuItem("helpmenu");
 
             fileMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<NewQueryFormCommand>());
             fileMenu.DropDownItems.Add(CommandControlBuilder.CreateToolStripMenuItem<NewFileCommand>());