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();