From e289ca4fcb8442c5b04954389cfea0092024958d Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期五, 27 三月 2026 17:08:45 +0800
Subject: [PATCH] 上模单、下模单、模具保养记录单、模具点检记录单、 模具故障登记单、模具维修派工单、模具维修记录单、模具维修验收单  增加系统参数   判断是否自动审核

---
 NETERPNoWin/Program.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/NETERPNoWin/Program.cs b/NETERPNoWin/Program.cs
index 4fe6a38..77311bb 100644
--- a/NETERPNoWin/Program.cs
+++ b/NETERPNoWin/Program.cs
@@ -25,10 +25,12 @@
             {
                 if (DBUtility.ClsPub.CheckUpdate())
                 {
-                    string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe";
-                    System.Diagnostics.Process.Start(strFileName);
-                    Application.Exit();
-                    return;
+                    //string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe";
+                    //System.Diagnostics.Process.Start(strFileName);
+                    //Application.Exit();
+                    //return;
+                    MESMain oMESMain = new MESMain();
+                    Application.Run(oMESMain);
                 }
                 else
                 {

--
Gitblit v1.9.1