From ec8044b430072d17e1e394ebff197d7544d73599 Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Fri, 2 May 2025 11:24:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E8=81=B2=E6=A8=99=E7=B1=A4+=E5=84=AA?= =?UTF-8?q?=E6=83=A0=E6=B4=BB=E5=8B=95=E9=A0=81=E7=A2=BC=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PrimaryFormParts/PrimaryForm.Promotions.cs | 5 +++-- VideoPlayerForm.cs | 2 +- bin/secondary_graph.grf | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/PrimaryFormParts/PrimaryForm.Promotions.cs b/PrimaryFormParts/PrimaryForm.Promotions.cs index e446c75..7472ca9 100644 --- a/PrimaryFormParts/PrimaryForm.Promotions.cs +++ b/PrimaryFormParts/PrimaryForm.Promotions.cs @@ -100,9 +100,10 @@ namespace DualScreenDemo return images; } - + // 優惠活動 按鈕事件 private void promotionsButton_Click(object sender, EventArgs e) { + promotionsAndMenuPanel.currentPageIndex=0; newSongAlertButton.BackgroundImage = newSongAlertNormalBackground; hotPlayButton.BackgroundImage = hotPlayNormalBackground; singerSearchButton.BackgroundImage = singerSearchNormalBackground; @@ -135,7 +136,7 @@ namespace DualScreenDemo pictureBoxQRCode.Visible = false; closeQRCodeButton.Visible = false; } - + SetPictureBoxToggleLightAndButtonsVisibility(false); } diff --git a/VideoPlayerForm.cs b/VideoPlayerForm.cs index aec358d..407e1b2 100644 --- a/VideoPlayerForm.cs +++ b/VideoPlayerForm.cs @@ -1521,7 +1521,7 @@ namespace DualScreenDemo string labelText = isVocalRemoved ? "無人聲" : "有人聲"; // 显示标签 OverlayForm.MainForm.ShowOriginalSongLabel(labelText); - await Task.Delay(300); + await Task.Delay(3000); // 隐藏标签 OverlayForm.MainForm.HideOriginalSongLabel(); } diff --git a/bin/secondary_graph.grf b/bin/secondary_graph.grf index b6cc34f..c0ac059 100644 --- a/bin/secondary_graph.grf +++ b/bin/secondary_graph.grf @@ -14,5 +14,5 @@ Filter: LAV Splitter Pin: Input Pin: Video Pin: Audio -Filter: C:\video\welcome.mpg +Filter: \\SVR01\DISK05\522246.mpg Pin: Output