圖片路徑修正
This commit is contained in:
parent
bb00bf6e99
commit
5ecef1c6cf
@ -425,7 +425,7 @@ namespace DualScreenDemo
|
||||
{
|
||||
PictureBox icon = new PictureBox()
|
||||
{
|
||||
Image = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\其他符號_人聲\其他符號_人聲.png")),
|
||||
Image = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\其他符號_人聲.png")),
|
||||
SizeMode = PictureBoxSizeMode.Zoom,
|
||||
Size = new Size(30, 30),
|
||||
Location = new Point(songX + 5, y + 8)
|
||||
|
@ -26,7 +26,7 @@ namespace DualScreenDemo
|
||||
vodButton = new Button();
|
||||
vodButton.Text = "";
|
||||
ResizeAndPositionButton(vodButton, xPosition - 119, yPosition + 35, 110, 50);
|
||||
vodButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\點播介面\點播介面_點歌.png"));
|
||||
vodButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\歌曲點播_空白介面.png"));
|
||||
vodButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
vodButton.FlatStyle = FlatStyle.Flat;
|
||||
vodButton.FlatAppearance.BorderSize = 0;
|
||||
@ -40,7 +40,7 @@ namespace DualScreenDemo
|
||||
insertButton = new Button();
|
||||
insertButton.Text = "";
|
||||
ResizeAndPositionButton(insertButton, xPosition + 12 , yPosition + 35, 110, 50);
|
||||
insertButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\點播介面\點播介面_插播.png"));
|
||||
insertButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\歌曲點播_插播.png"));
|
||||
insertButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
insertButton.FlatStyle = FlatStyle.Flat;
|
||||
insertButton.FlatAppearance.BorderSize = 0;
|
||||
@ -54,7 +54,7 @@ namespace DualScreenDemo
|
||||
albumButton = new Button();
|
||||
albumButton.Text = "";
|
||||
ResizeAndPositionButton(albumButton, xPosition + 142, yPosition + 35, 140, 50);
|
||||
albumButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\點播介面\點播介面_歷年專輯.png"));
|
||||
albumButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\歌曲點播_歷年專輯.png"));
|
||||
albumButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
albumButton.FlatStyle = FlatStyle.Flat;
|
||||
albumButton.FlatAppearance.BorderSize = 0;
|
||||
@ -68,7 +68,7 @@ namespace DualScreenDemo
|
||||
favoriteButton = new Button();
|
||||
favoriteButton.Text = "";
|
||||
ResizeAndPositionButton(favoriteButton, xPosition + 302, yPosition + 35, 140, 50);
|
||||
favoriteButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\點播介面\點播介面_我的最愛.png"));
|
||||
favoriteButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\歌曲點播_我的最愛.png"));
|
||||
favoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
favoriteButton.FlatStyle = FlatStyle.Flat;
|
||||
favoriteButton.FlatAppearance.BorderSize = 0;
|
||||
@ -97,7 +97,7 @@ namespace DualScreenDemo
|
||||
vodScreenCloseButton = new Button();
|
||||
vodScreenCloseButton.Text = "";
|
||||
ResizeAndPositionButton(vodScreenCloseButton, xPosition + 462, yPosition + 35, 110, 50);
|
||||
vodScreenCloseButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\點播介面\點播介面_關閉.png"));
|
||||
vodScreenCloseButton.BackgroundImage = Image.FromFile(Path.Combine(Application.StartupPath, @"themes\superstar\button\3.介面\歌曲點播_關閉.png"));
|
||||
vodScreenCloseButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||
vodScreenCloseButton.FlatStyle = FlatStyle.Flat;
|
||||
vodScreenCloseButton.FlatAppearance.BorderSize = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user