From d599d448a7e05ab4578405825e1aeabf381d49c8 Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Mon, 5 May 2025 11:02:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=B7=B2=E9=BB=9E=E6=AD=8C?= =?UTF-8?q?=E6=9B=B2=E8=BF=94=E5=9B=9E=E6=8C=89=E9=88=95+=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E9=97=9C=E5=8F=B0=E5=B7=B2=E9=BB=9E=E6=AD=8C=E5=96=AE?= =?UTF-8?q?=E6=B8=85=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- PrimaryFormParts/PrimaryForm.cs | 2 ++ TCPServer.cs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index eea2302..b3a9bae 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,4 @@ Superstar_log.ldf build.bat *.exe bin/logfile.txt -.gitignore +bin/secondary_graph.grf diff --git a/PrimaryFormParts/PrimaryForm.cs b/PrimaryFormParts/PrimaryForm.cs index 7cbda55..66f71df 100644 --- a/PrimaryFormParts/PrimaryForm.cs +++ b/PrimaryFormParts/PrimaryForm.cs @@ -3042,6 +3042,8 @@ public class MultiPagePanel : Panel /// private void ShouYeButton_Click(object sender, EventArgs e) { + if(currentSongList == playedSongsHistory) + return; autoRefreshTimer.Stop(); // 停止自动刷新 /* SetHotSongButtonsVisibility(false); diff --git a/TCPServer.cs b/TCPServer.cs index 87d0ff8..f1e3ef0 100644 --- a/TCPServer.cs +++ b/TCPServer.cs @@ -172,7 +172,7 @@ namespace DualScreenDemo VideoPlayerForm.publicPlaylist = new List(); VideoPlayerForm.playingSongList = new List(); - + PrimaryForm.playedSongsHistory = new List(); // 如果有正在播放的歌曲也加進去 if (VideoPlayerForm.Instance.currentPlayingSong != null) {