From a4940126aa16a50cb33e31f5807a7469e18bb05d Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Tue, 13 May 2025 15:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AA=BF=E6=95=B4=E6=A8=99=E7=B1=A4=E6=A8=A3?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.cs | 2 +- PrimaryFormParts/PrimaryForm.Favorite.cs | 2 +- PrimaryFormParts/PrimaryForm.cs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.cs b/PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.cs index f9af030..4287281 100644 --- a/PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.cs +++ b/PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.cs @@ -10,7 +10,7 @@ namespace DualScreenDemo private void InitializeButton(ref Button button, string buttonText, int x, int y, int width, int height, Rectangle cropArea, Image normalBackground, out Bitmap normalBackgroundOut, Image activeBackground, out Bitmap activeBackgroundOut, EventHandler clickEventHandler) { - button = new Button { Text = buttonText, Visible = false }; + button = new Button { Text = "", Visible = false }; ResizeAndPositionButton(button, x, y, width, height); normalBackgroundOut = new Bitmap(normalBackground).Clone(cropArea, normalBackground.PixelFormat); activeBackgroundOut = new Bitmap(activeBackground).Clone(cropArea, activeBackground.PixelFormat); diff --git a/PrimaryFormParts/PrimaryForm.Favorite.cs b/PrimaryFormParts/PrimaryForm.Favorite.cs index 7652a82..69f5a8e 100644 --- a/PrimaryFormParts/PrimaryForm.Favorite.cs +++ b/PrimaryFormParts/PrimaryForm.Favorite.cs @@ -246,7 +246,7 @@ namespace DualScreenDemo } } - + // 我的最愛新增 private void NewFavoriteButton_Click(object sender, EventArgs e) { if (mobileNumber.StartsWith("09") && mobileNumber.Length == 10) diff --git a/PrimaryFormParts/PrimaryForm.cs b/PrimaryFormParts/PrimaryForm.cs index b04fcb1..f5b0f0a 100644 --- a/PrimaryFormParts/PrimaryForm.cs +++ b/PrimaryFormParts/PrimaryForm.cs @@ -169,6 +169,7 @@ namespace DualScreenDemo private Dictionary initialControlStates = new Dictionary(); private Panel sendOffPanel; + private static Bitmap normalStateImageHotSong; private static Bitmap mouseDownImageHotSong;