From 699b04d39a79bd6bb8efae1c6e2d65766c3d12b8 Mon Sep 17 00:00:00 2001
From: black-goat-me <226547893@qq.com>
Date: 星期六, 20 五月 2023 20:27:16 +0800
Subject: [PATCH] 1
---
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