點播介面問題修正

This commit is contained in:
allen.yan 2025-08-06 12:15:14 +08:00
parent 4e1caafac8
commit 9ae5cf827a
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ namespace DualScreenDemo
vodButton = new Button(); vodButton = new Button();
vodButton.Text = ""; vodButton.Text = "";
ResizeAndPositionButton(vodButton, xPosition - 119, yPosition + 35, 110, 50); ResizeAndPositionButton(vodButton, xPosition - 119, yPosition + 35, 110, 50);
vodButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\歌曲點播_空白介面.png")); vodButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\歌曲點播_點播.png"));
vodButton.BackgroundImageLayout = ImageLayout.Stretch; vodButton.BackgroundImageLayout = ImageLayout.Stretch;
vodButton.FlatStyle = FlatStyle.Flat; vodButton.FlatStyle = FlatStyle.Flat;
vodButton.FlatAppearance.BorderSize = 0; vodButton.FlatAppearance.BorderSize = 0;

View File

@ -1774,7 +1774,7 @@ namespace DualScreenDemo
string songInfo = SongDetail.getName() ?? "未提供歌曲信息"; string songInfo = SongDetail.getName() ?? "未提供歌曲信息";
g.DrawString(songInfo, font, textBrush, new PointF(201, 29)); g.DrawString(songInfo, font, textBrush, new PointF(121, 18));
} }
ResizeAndPositionPictureBox(VodScreenPictureBox, xPosition, yPosition, pictureBoxWidth, pictureBoxHeight); ResizeAndPositionPictureBox(VodScreenPictureBox, xPosition, yPosition, pictureBoxWidth, pictureBoxHeight);