From 544dd219935de0b1e133d49b3d87c41d7a92afee Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Fri, 16 Sep 2022 17:35:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E6=9D=A1=E7=9A=84=E8=A7=82=E6=84=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainForm.Designer.cs | 4 ++-- Util/SteamGuardCalcThread.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs index 81017a7..70c752a 100644 --- a/MainForm.Designer.cs +++ b/MainForm.Designer.cs @@ -95,11 +95,11 @@ namespace steam_token this.progressBar_refresh.BackColor = System.Drawing.SystemColors.Control; this.progressBar_refresh.ForeColor = System.Drawing.SystemColors.Control; this.progressBar_refresh.Location = new System.Drawing.Point(12, 28); - this.progressBar_refresh.Maximum = 30; + this.progressBar_refresh.Maximum = 3000; this.progressBar_refresh.Name = "progressBar_refresh"; this.progressBar_refresh.Size = new System.Drawing.Size(620, 23); this.progressBar_refresh.TabIndex = 2; - this.progressBar_refresh.Value = 30; + this.progressBar_refresh.Value = 3000; // // groupBox_display // diff --git a/Util/SteamGuardCalcThread.cs b/Util/SteamGuardCalcThread.cs index 5ab83c9..b040689 100644 --- a/Util/SteamGuardCalcThread.cs +++ b/Util/SteamGuardCalcThread.cs @@ -51,13 +51,13 @@ namespace steam_token.Util return; } CalcOnce(); - for (int i = 30; i >= 0; i--) + for (int i = 3000; i >= 0; i--) { - Thread.Sleep(1000); + Thread.Sleep(1); if (i == 0) { CalcOnce(); - i = 30; + i = 3000; } progressBar_refresh.Value = i;