From 2c647b75d3550f87c0fe0fbe72527af779c238fb Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期四, 19 九月 2024 13:59:48 +0800 Subject: [PATCH] 钉钉同步设备维修记录 模具维修记录 保养记录 --- LMES/Program.cs | 72 ++++++++++++++++++------------------ 1 files changed, 36 insertions(+), 36 deletions(-) diff --git a/LMES/Program.cs b/LMES/Program.cs index 81a7262..7f03a02 100644 --- a/LMES/Program.cs +++ b/LMES/Program.cs @@ -15,44 +15,44 @@ { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - //Application.Run(new DingDing_autoGetData()); + Application.Run(new DingDing_autoGetData()); - DBUtility.ClsPub.AppPath = System.Environment.CurrentDirectory; - Pub_Class.ClsPub.AppPath = System.Environment.CurrentDirectory; - Pub_Class.ClsPub.SetIPAddress(); - DBUtility.ClsPub.SetIPAddress(); - DBUtility.ClsPub.VersionNum = "12.1"; - Pub_Class.ClsPub.VersionNum = "12.1";// - //=================================================================== - try - { - if (DBUtility.ClsPub.CheckUpdate()) - { - MessageBox.Show("鍙戠幇鏈�鏂扮増鏈�,闇�瑕佹洿鏂帮紒"); - string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe"; - System.Diagnostics.Process.Start(strFileName); - Application.Exit(); - return; - } - else - { - //============================================ - BLL.FrmLogin frmlg = new BLL.FrmLogin(); - frmlg.ShowDialog(); - if (frmlg.isOk) - { - MDIMain MainFrm = new MDIMain(); - Application.Run(MainFrm); - } - } - } - catch (Exception e) - { - MessageBox.Show(e.Message); - Application.Exit(); - return; - } + //DBUtility.ClsPub.AppPath = System.Environment.CurrentDirectory; + //Pub_Class.ClsPub.AppPath = System.Environment.CurrentDirectory; + //Pub_Class.ClsPub.SetIPAddress(); + //DBUtility.ClsPub.SetIPAddress(); + //DBUtility.ClsPub.VersionNum = "12.1"; + //Pub_Class.ClsPub.VersionNum = "12.1";// + ////=================================================================== + //try + //{ + // if (DBUtility.ClsPub.CheckUpdate()) + // { + // MessageBox.Show("鍙戠幇鏈�鏂扮増鏈�,闇�瑕佹洿鏂帮紒"); + // string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe"; + // System.Diagnostics.Process.Start(strFileName); + // Application.Exit(); + // return; + // } + // else + // { + // //============================================ + // BLL.FrmLogin frmlg = new BLL.FrmLogin(); + // frmlg.ShowDialog(); + // if (frmlg.isOk) + // { + // MDIMain MainFrm = new MDIMain(); + // Application.Run(MainFrm); + // } + // } + //} + //catch (Exception e) + //{ + // MessageBox.Show(e.Message); + // Application.Exit(); + // return; + //} } } } -- Gitblit v1.9.1