From 47be69660bba94cd07c1104ce29e7d8de4af2cac Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期四, 19 十二月 2024 10:18:06 +0800
Subject: [PATCH] PDA扫码模块,删除行条码出入库记录方法修改

---
 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