From fec592d94a99f623e86990bdbc004006e8854659 Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Mon, 21 Apr 2025 13:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3SQL=E8=B7=AF=E5=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PrimaryFormParts/PrimaryForm.SQLSearch.cs | 4 ++-- PrimaryFormParts/PrimaryForm.cs | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/PrimaryFormParts/PrimaryForm.SQLSearch.cs b/PrimaryFormParts/PrimaryForm.SQLSearch.cs index ace0c51..939da8f 100644 --- a/PrimaryFormParts/PrimaryForm.SQLSearch.cs +++ b/PrimaryFormParts/PrimaryForm.SQLSearch.cs @@ -37,8 +37,8 @@ namespace DualScreenDemo{ string artistA = reader["歌星 A"].ToString(); string artistB = reader["歌星 B"].ToString(); string fileName = reader["歌曲檔名"].ToString(); - string songFilePathHost1 = Path.Combine("\\SVR01\\DISK01\\", fileName); // \SVR01\DISK01\ - string songFilePathHost2 = Path.Combine("\\SVR01\\DISK01\\", fileName); // \SVR02\DISK01\ + string songFilePathHost1 = Path.Combine(@"\\SVR01\DISK05", fileName); // \SVR01\DISK01\ + string songFilePathHost2 = Path.Combine(@"\\SVR02\DISK01", fileName); // \SVR02\DISK01\ string artistASimplified = reader["歌星A簡體"].ToString(); string artistBSimplified = reader["歌星B簡體"].ToString(); string songSimplified = reader["歌名簡體"].ToString(); diff --git a/PrimaryFormParts/PrimaryForm.cs b/PrimaryFormParts/PrimaryForm.cs index d71be39..564c816 100644 --- a/PrimaryFormParts/PrimaryForm.cs +++ b/PrimaryFormParts/PrimaryForm.cs @@ -1422,7 +1422,6 @@ namespace DualScreenDemo { currentSelectedSong = label.Tag as SongData; - this.DoubleBuffered = true; this.SuspendLayout(); @@ -2481,7 +2480,7 @@ namespace DualScreenDemo isOnOrderedSongsPage = true; autoRefreshTimer.Start(); // 开始自动刷新 - + // 已點歌曲錨點 currentSongList = playedSongsHistory; totalPages = (int)Math.Ceiling((double)playedSongsHistory.Count / itemsPerPage); multiPagePanel.currentPageIndex = 0;