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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/DataCapture_MA/Form1.cs b/DataCapture_MA/Form1.cs
index d025d3d..f693d48 100644
--- a/DataCapture_MA/Form1.cs
+++ b/DataCapture_MA/Form1.cs
@@ -52,10 +52,9 @@
 
             if (!foundTargetSubnet && ipSelect.Items.Count > 0)
             {
-                MessageBox.Show($"鏈壘鍒扮綉娈典负 {targetSubnet} 鐨処P鍦板潃锛屽皢榛樿閫変腑绗竴涓狪P銆�", "鎻愮ず", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                //MessageBox.Show($"鏈壘鍒扮綉娈典负 {targetSubnet} 鐨処P鍦板潃锛屽皢榛樿閫変腑绗竴涓狪P銆�", "鎻愮ず", MessageBoxButtons.OK, MessageBoxIcon.Information);
                 ipSelect.SelectedIndex = 0;
             }
-
             to_ipTxt.Text = ipSelect.SelectedItem?.ToString();
 
             // 鍒濆鍖� AutoMapper
@@ -71,6 +70,7 @@
             CreateShortcut(shortcutName, targetPath, startupPath); // 鍒涘缓蹇嵎鏂瑰紡
 
             StartReceive(); // 鍚姩绋嬪簭
+            CreateDatabase();  // 鍒濆鍖栨暟鎹簱
 
             // 鍒犻櫎涓�涓湀鍓嶇殑鏁版嵁
             new Thread(AutoDeleteHistoryDate.Handler).Start();

--
Gitblit v1.9.3