From b5fb37723fd152f30c2260728e2ddeb06579b608 Mon Sep 17 00:00:00 2001 From: huiyadanli Date: Sun, 5 Jan 2020 00:29:53 +0800 Subject: [PATCH] =?UTF-8?q?[#]=20=E4=BF=AE=E6=94=B9=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E8=A1=A5=E4=B8=81=E4=BF=A1=E6=81=AF=E6=97=B6?= =?UTF-8?q?Label=E7=9A=84=E9=A2=9C=E8=89=B2=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RevokeMsgPatcher/FormMain.Designer.cs | 2 +- RevokeMsgPatcher/FormMain.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RevokeMsgPatcher/FormMain.Designer.cs b/RevokeMsgPatcher/FormMain.Designer.cs index 2ef9b92..949b4f8 100644 --- a/RevokeMsgPatcher/FormMain.Designer.cs +++ b/RevokeMsgPatcher/FormMain.Designer.cs @@ -135,7 +135,7 @@ // this.lblUpdatePachJson.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblUpdatePachJson.Cursor = System.Windows.Forms.Cursors.Hand; - this.lblUpdatePachJson.ForeColor = System.Drawing.SystemColors.Highlight; + this.lblUpdatePachJson.ForeColor = System.Drawing.Color.OrangeRed; this.lblUpdatePachJson.Location = new System.Drawing.Point(168, 118); this.lblUpdatePachJson.Name = "lblUpdatePachJson"; this.lblUpdatePachJson.Size = new System.Drawing.Size(308, 12); diff --git a/RevokeMsgPatcher/FormMain.cs b/RevokeMsgPatcher/FormMain.cs index 4d9d4d2..6325746 100644 --- a/RevokeMsgPatcher/FormMain.cs +++ b/RevokeMsgPatcher/FormMain.cs @@ -2,6 +2,7 @@ using RevokeMsgPatcher.Modifier; using RevokeMsgPatcher.Utils; using System; +using System.Drawing; using System.IO; using System.Web.Script.Serialization; using System.Windows.Forms; @@ -239,11 +240,13 @@ namespace RevokeMsgPatcher { needUpdate = true; lblUpdatePachJson.Text = $"[ 存在最新版本 {bag.LatestVersion} ]"; + lblUpdatePachJson.ForeColor = Color.Red; } else { needUpdate = false; lblUpdatePachJson.Text = "[ 获取成功,点击查看更多信息 ]"; + lblUpdatePachJson.ForeColor = Color.RoyalBlue; } InitControls(); }