Commit 751936b2 authored by tr's avatar tr

1、改为异步检查更新

parent cb907e59
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<appSettings>
<add key="UpdateTime" value="2021-06-24 10:58:08.780" />
</appSettings>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup> </startup>
......
...@@ -7,6 +7,7 @@ using System.Drawing; ...@@ -7,6 +7,7 @@ using System.Drawing;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
// //
using Tools.MyCommon; using Tools.MyCommon;
...@@ -62,7 +63,7 @@ namespace Tools ...@@ -62,7 +63,7 @@ namespace Tools
this.tabControl1.MouseDoubleClick += TabControl1_MouseDoubleClick; this.tabControl1.MouseDoubleClick += TabControl1_MouseDoubleClick;
//检查更新 //检查更新
this.CheckUpdate(true); Task.Run(() => this.CheckUpdate(true));
} }
#region 基础:关闭、最大化、最小化 #region 基础:关闭、最大化、最小化
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment