From 9f5cd73648a4dd6ad80d5c8e1c14746a8a27b1b6 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周四, 21 11月 2024 08:45:08 +0800
Subject: [PATCH] 程序修改

---
 DataCapture_MA/Form1.cs |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/DataCapture_MA/Form1.cs b/DataCapture_MA/Form1.cs
index 74496c1..f693d48 100644
--- a/DataCapture_MA/Form1.cs
+++ b/DataCapture_MA/Form1.cs
@@ -69,11 +69,8 @@
             string startupPath = Environment.GetFolderPath(Environment.SpecialFolder.Startup); // 鍚姩鏂囦欢澶硅矾寰�
             CreateShortcut(shortcutName, targetPath, startupPath); // 鍒涘缓蹇嵎鏂瑰紡
 
-            if (ipSelect.Items.Count > 0)
-            {
-                StartReceive(); // 鍚姩绋嬪簭
-                CreateDatabase();  // 鍒濆鍖栨暟鎹簱
-            }
+            StartReceive(); // 鍚姩绋嬪簭
+            CreateDatabase();  // 鍒濆鍖栨暟鎹簱
 
             // 鍒犻櫎涓�涓湀鍓嶇殑鏁版嵁
             new Thread(AutoDeleteHistoryDate.Handler).Start();

--
Gitblit v1.9.3