2508131641
This commit is contained in:
parent
f99b3803e8
commit
a3955b2672
11
Env.cs
11
Env.cs
@ -52,10 +52,13 @@ namespace Utils
|
|||||||
}
|
}
|
||||||
public static string[] GetSongServers()
|
public static string[] GetSongServers()
|
||||||
{
|
{
|
||||||
return Get("songServer", "")
|
// return Get("songServer", "")
|
||||||
.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries)
|
// .Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries)
|
||||||
.Select(s => s.Trim('\'', '"').TrimEnd('\\')) // 清理
|
// .Select(s => s.Trim('\'', '"').TrimEnd('\\')) // 清理
|
||||||
.ToArray();
|
// .ToArray();
|
||||||
|
|
||||||
|
return new string[] { @"\\svr01", @"\\svr02" };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string Get(string key, string fallback = "") =>
|
public static string Get(string key, string fallback = "") =>
|
||||||
|
@ -97,6 +97,12 @@ namespace DualScreenDemo
|
|||||||
SetPinYinSongsAndButtonsVisibility(false);
|
SetPinYinSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
||||||
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
|
SetWordCountSongsAndButtonsVisibility(false);
|
||||||
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSingersAndButtonsVisibility(false);
|
||||||
|
SetWordCountSingersAndButtonsVisibility(false);
|
||||||
|
|
||||||
SetPictureBoxCategoryAndButtonsVisibility(true);
|
SetPictureBoxCategoryAndButtonsVisibility(true);
|
||||||
|
|
||||||
UpdateCatBtns(loveDuetButton, loveDuetActiveBackground);
|
UpdateCatBtns(loveDuetButton, loveDuetActiveBackground);
|
||||||
|
@ -95,6 +95,12 @@ namespace DualScreenDemo
|
|||||||
SetPinYinSongsAndButtonsVisibility(false);
|
SetPinYinSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
||||||
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
|
SetWordCountSongsAndButtonsVisibility(false);
|
||||||
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSingersAndButtonsVisibility(false);
|
||||||
|
SetWordCountSingersAndButtonsVisibility(false);
|
||||||
|
|
||||||
SetGroupButtonsVisibility(true);
|
SetGroupButtonsVisibility(true);
|
||||||
|
|
||||||
UpdateGroupSubBtns(groupGuoYuButton, groupGuoYuActiveBackground);
|
UpdateGroupSubBtns(groupGuoYuButton, groupGuoYuActiveBackground);
|
||||||
|
@ -133,6 +133,12 @@ namespace DualScreenDemo
|
|||||||
SetPinYinSongsAndButtonsVisibility(false);
|
SetPinYinSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
||||||
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
|
SetWordCountSongsAndButtonsVisibility(false);
|
||||||
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSingersAndButtonsVisibility(false);
|
||||||
|
SetWordCountSingersAndButtonsVisibility(false);
|
||||||
|
|
||||||
SetHotSongButtonsVisibility(true);
|
SetHotSongButtonsVisibility(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,6 +97,12 @@ namespace DualScreenDemo
|
|||||||
SetPinYinSongsAndButtonsVisibility(false);
|
SetPinYinSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
||||||
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
|
SetWordCountSongsAndButtonsVisibility(false);
|
||||||
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSingersAndButtonsVisibility(false);
|
||||||
|
SetWordCountSingersAndButtonsVisibility(false);
|
||||||
|
|
||||||
SetPictureBoxLanguageButtonsVisibility(true);
|
SetPictureBoxLanguageButtonsVisibility(true);
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,6 +109,12 @@ namespace DualScreenDemo
|
|||||||
SetPinYinSongsAndButtonsVisibility(false);
|
SetPinYinSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
||||||
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
|
SetWordCountSongsAndButtonsVisibility(false);
|
||||||
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSingersAndButtonsVisibility(false);
|
||||||
|
SetWordCountSingersAndButtonsVisibility(false);
|
||||||
|
|
||||||
SetNewSongButtonsVisibility(true);
|
SetNewSongButtonsVisibility(true);
|
||||||
|
|
||||||
UpdateNewSongBtns(guoYuButtonNewSong, guoYuNewSongActiveBackground);
|
UpdateNewSongBtns(guoYuButtonNewSong, guoYuNewSongActiveBackground);
|
||||||
|
@ -55,7 +55,7 @@ namespace DualScreenDemo
|
|||||||
|
|
||||||
|
|
||||||
string fileName = (i+1).ToString();
|
string fileName = (i+1).ToString();
|
||||||
string filePath = Path.Combine(serverPath, @"themes\superstar\button\3.介面\我的最愛_" + fileName + ".png");
|
string filePath = Path.Combine(serverPath, data["Favorite"]["FilePath"] + fileName + ".png");
|
||||||
favoriteNumberButton[i].BackgroundImage = Image.FromFile(filePath);
|
favoriteNumberButton[i].BackgroundImage = Image.FromFile(filePath);
|
||||||
favoriteNumberButton[i].BackgroundImageLayout = ImageLayout.Stretch;
|
favoriteNumberButton[i].BackgroundImageLayout = ImageLayout.Stretch;
|
||||||
favoriteNumberButton[i].FlatStyle = FlatStyle.Flat;
|
favoriteNumberButton[i].FlatStyle = FlatStyle.Flat;
|
||||||
@ -87,7 +87,7 @@ namespace DualScreenDemo
|
|||||||
Name = "enterFavoriteButton"
|
Name = "enterFavoriteButton"
|
||||||
};
|
};
|
||||||
ResizeAndPositionButton(enterFavoriteButton, 832, 657, 70, 65);
|
ResizeAndPositionButton(enterFavoriteButton, 832, 657, 70, 65);
|
||||||
enterFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, @"themes\superstar\button\3.介面\我的最愛_確認.png"));
|
enterFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, data["Favorite"]["Enter"]));
|
||||||
enterFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
enterFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||||
enterFavoriteButton.FlatStyle = FlatStyle.Flat;
|
enterFavoriteButton.FlatStyle = FlatStyle.Flat;
|
||||||
enterFavoriteButton.FlatAppearance.BorderSize = 0;
|
enterFavoriteButton.FlatAppearance.BorderSize = 0;
|
||||||
@ -102,7 +102,7 @@ namespace DualScreenDemo
|
|||||||
Name = "newFavoriteButton"
|
Name = "newFavoriteButton"
|
||||||
};
|
};
|
||||||
ResizeAndPositionButton(newFavoriteButton, 916, 657, 70, 65);
|
ResizeAndPositionButton(newFavoriteButton, 916, 657, 70, 65);
|
||||||
newFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, @"themes\superstar\button\3.介面\我的最愛_新建.png"));
|
newFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, data["Favorite"]["New"]));
|
||||||
newFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
newFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||||
newFavoriteButton.FlatStyle = FlatStyle.Flat;
|
newFavoriteButton.FlatStyle = FlatStyle.Flat;
|
||||||
newFavoriteButton.FlatAppearance.BorderSize = 0;
|
newFavoriteButton.FlatAppearance.BorderSize = 0;
|
||||||
@ -117,7 +117,7 @@ namespace DualScreenDemo
|
|||||||
Name = "refillFavoriteButton"
|
Name = "refillFavoriteButton"
|
||||||
};
|
};
|
||||||
ResizeAndPositionButton(refillFavoriteButton, 999, 657, 70, 65);
|
ResizeAndPositionButton(refillFavoriteButton, 999, 657, 70, 65);
|
||||||
refillFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, @"themes\superstar\button\3.介面\我的最愛_重填.png"));
|
refillFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, data["Favorite"]["Refill"]));
|
||||||
refillFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
refillFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||||
refillFavoriteButton.FlatStyle = FlatStyle.Flat;
|
refillFavoriteButton.FlatStyle = FlatStyle.Flat;
|
||||||
refillFavoriteButton.FlatAppearance.BorderSize = 0;
|
refillFavoriteButton.FlatAppearance.BorderSize = 0;
|
||||||
@ -132,7 +132,7 @@ namespace DualScreenDemo
|
|||||||
Name = "closeFavoriteButton"
|
Name = "closeFavoriteButton"
|
||||||
};
|
};
|
||||||
ResizeAndPositionButton(closeFavoriteButton, 1083, 657, 70, 65);
|
ResizeAndPositionButton(closeFavoriteButton, 1083, 657, 70, 65);
|
||||||
closeFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, @"themes\superstar\button\3.介面\我的最愛_關閉.png"));
|
closeFavoriteButton.BackgroundImage = Image.FromFile(Path.Combine(serverPath, data["Favorite"]["Close"]));
|
||||||
closeFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
closeFavoriteButton.BackgroundImageLayout = ImageLayout.Stretch;
|
||||||
closeFavoriteButton.FlatStyle = FlatStyle.Flat;
|
closeFavoriteButton.FlatStyle = FlatStyle.Flat;
|
||||||
closeFavoriteButton.FlatAppearance.BorderSize = 0;
|
closeFavoriteButton.FlatAppearance.BorderSize = 0;
|
||||||
@ -333,24 +333,15 @@ namespace DualScreenDemo
|
|||||||
{
|
{
|
||||||
var data = LoadBtnConfigData();
|
var data = LoadBtnConfigData();
|
||||||
|
|
||||||
newSongAlertButton.BackgroundImage = newSongAlertNormalBackground;
|
UpdateButtonBackgrounds(myFavoritesButton, myFavoritesActiveBackground);
|
||||||
hotPlayButton.BackgroundImage = hotPlayNormalBackground;
|
|
||||||
singerSearchButton.BackgroundImage = singerSearchNormalBackground;
|
|
||||||
songSearchButton.BackgroundImage = songSearchNormalBackground;
|
|
||||||
languageSearchButton.BackgroundImage = languageSearchNormalBackground;
|
|
||||||
groupSearchButton.BackgroundImage = groupSearchNormalBackground;
|
|
||||||
categorySearchButton.BackgroundImage = categorySearchNormalBackground;
|
|
||||||
orderedSongsButton.BackgroundImage = orderedSongsNormalBackground;
|
|
||||||
myFavoritesButton.BackgroundImage = new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\1.主類別\\主類別上方_我的最愛(已按).png"));
|
|
||||||
promotionsButton.BackgroundImage = promotionsNormalBackground;
|
|
||||||
deliciousFoodButton.BackgroundImage = deliciousFoodNormalBackground;
|
|
||||||
isOnOrderedSongsPage = false;
|
isOnOrderedSongsPage = false;
|
||||||
|
|
||||||
|
|
||||||
if (!FavoritePictureBox.Visible)
|
if (!FavoritePictureBox.Visible)
|
||||||
{
|
{
|
||||||
|
|
||||||
ShowImageOnFavoritePictureBox(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\我的最愛_空白介面.png"));
|
ShowImageOnFavoritePictureBox(Path.Combine(serverPath, data["Favorite"]["FavoriteBaseUI"]));
|
||||||
SetFavoritePictureBoxAndButtonsVisibility(true);
|
SetFavoritePictureBoxAndButtonsVisibility(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -14,7 +14,7 @@ namespace DualScreenDemo
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
string imagePath = Path.Combine(serverPath, "themes/superstar/button/3.介面/手機點歌QR碼_完整介面.png");
|
string imagePath = Path.Combine(serverPath, data["QrCode"]["QrCodeBaseUI"]);
|
||||||
if (!File.Exists(imagePath))
|
if (!File.Exists(imagePath))
|
||||||
{
|
{
|
||||||
Console.WriteLine("Base image not found: " + imagePath);
|
Console.WriteLine("Base image not found: " + imagePath);
|
||||||
@ -82,7 +82,7 @@ namespace DualScreenDemo
|
|||||||
ResizeAndPositionControl(pictureBoxQRCode, 975, 442, 226, 274);
|
ResizeAndPositionControl(pictureBoxQRCode, 975, 442, 226, 274);
|
||||||
|
|
||||||
|
|
||||||
Bitmap originalImage = new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\手機點歌QR碼_完整介面.png"));
|
Bitmap originalImage = new Bitmap(Path.Combine(serverPath, data["QrCode"]["QrCodeBaseUI"]));
|
||||||
|
|
||||||
|
|
||||||
//Rectangle closeQRCodeCropArea = new Rectangle(198, 6, 22, 22);
|
//Rectangle closeQRCodeCropArea = new Rectangle(198, 6, 22, 22);
|
||||||
|
@ -50,70 +50,70 @@ namespace DualScreenDemo
|
|||||||
|
|
||||||
// 同步畫面 服務鈴
|
// 同步畫面 服務鈴
|
||||||
ConfigureButton(this.syncServiceBellButton, 1240, 17, 161, 161,
|
ConfigureButton(this.syncServiceBellButton, 1240, 17, 161, 161,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_服務鈴.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["ServiceBell"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_服務鈴.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["ServiceBell"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_服務鈴.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["ServiceBell"])),
|
||||||
//(sender, e) => SendCommandThroughSerialPort("a2 53 a4"));
|
//(sender, e) => SendCommandThroughSerialPort("a2 53 a4"));
|
||||||
(sender,e)=>OnServiceBellButtonClick(sender,e));
|
(sender,e)=>OnServiceBellButtonClick(sender,e));
|
||||||
|
|
||||||
ConfigureButton(this.syncCutSongButton, 1218, 195, 205, 56,
|
ConfigureButton(this.syncCutSongButton, 1218, 195, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_切歌.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["CutSong"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_切歌.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["CutSong"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_切歌.png")), (sender, e) => videoPlayerForm.PlayNextSong());
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["CutSong"])), (sender, e) => videoPlayerForm.PlayNextSong());
|
||||||
|
|
||||||
ConfigureButton(this.syncReplayButton, 1218, 265, 205, 56,
|
ConfigureButton(this.syncReplayButton, 1218, 265, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_重唱.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Replay"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_重唱.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Replay"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_重唱.png")), ReplayButton_Click);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Replay"])), ReplayButton_Click);
|
||||||
// 有人聲入口位置
|
// 有人聲入口位置
|
||||||
ConfigureButton(this.syncOriginalSongButton, 1218, 335, 205, 56,
|
ConfigureButton(this.syncOriginalSongButton, 1218, 335, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_原唱.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Original"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_原唱.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Original"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_原唱.png")), (sender,e) => videoPlayerForm.ToggleVocalRemoval());
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Original"])), (sender,e) => videoPlayerForm.ToggleVocalRemoval());
|
||||||
|
|
||||||
ConfigureButton(this.syncMuteButton, 1218, 406, 205, 55,
|
ConfigureButton(this.syncMuteButton, 1218, 406, 205, 55,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_靜音.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Mute"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_靜音.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Mute"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_靜音.png")), MuteUnmuteButton_Click);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Mute"])), MuteUnmuteButton_Click);
|
||||||
|
|
||||||
ConfigureButton(this.syncPauseButton, 1218, 475, 205, 56,
|
ConfigureButton(this.syncPauseButton, 1218, 475, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_暫停.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Stop"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_暫停.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Stop"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_暫停.png")), SyncPauseButton_Click);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Stop"])), SyncPauseButton_Click);
|
||||||
|
|
||||||
ConfigureButton(this.syncPlayButton, 1218, 475, 205, 56,
|
ConfigureButton(this.syncPlayButton, 1218, 475, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_暫停.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Play"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_暫停.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Play"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_暫停.png")), SyncPlayButton_Click);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Play"])), SyncPlayButton_Click);
|
||||||
|
|
||||||
ConfigureButton(this.syncVolumeUpButton, 1218, 546, 205, 55,
|
ConfigureButton(this.syncVolumeUpButton, 1218, 546, 205, 55,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_音樂+.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MusicVolGain"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_音樂+.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MusicVolGain"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_音樂+.png")), null);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MusicVolGain"])), null);
|
||||||
|
|
||||||
this.syncVolumeUpButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("音量 ↑ ","a2 b3 a4"); };
|
this.syncVolumeUpButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("音量 ↑ ","a2 b3 a4"); };
|
||||||
this.syncVolumeUpButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel(); };
|
this.syncVolumeUpButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel(); };
|
||||||
|
|
||||||
ConfigureButton(this.syncVolumeDownButton, 1218, 616, 205, 55,
|
ConfigureButton(this.syncVolumeDownButton, 1218, 616, 205, 55,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_音樂-.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MusicVolDown"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_音樂-.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MusicVolDown"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_音樂-.png")), null);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MusicVolDown"])), null);
|
||||||
|
|
||||||
this.syncVolumeDownButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("音量 ↓ ","a2 b4 a4");};
|
this.syncVolumeDownButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("音量 ↓ ","a2 b4 a4");};
|
||||||
this.syncVolumeDownButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel();};
|
this.syncVolumeDownButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel();};
|
||||||
|
|
||||||
ConfigureButton(this.syncMicUpButton, 1218, 686, 205, 56,
|
ConfigureButton(this.syncMicUpButton, 1218, 686, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_麥克風+.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MicVolGain"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_麥克風+.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MicVolGain"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_麥克風+.png")), null);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MicVolGain"])), null);
|
||||||
|
|
||||||
this.syncMicUpButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("麥克風 ↑ ","a2 b5 a4");};
|
this.syncMicUpButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("麥克風 ↑ ","a2 b5 a4");};
|
||||||
this.syncMicUpButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel(); };
|
this.syncMicUpButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel(); };
|
||||||
|
|
||||||
ConfigureButton(this.syncMicDownButton, 1218, 756, 205, 56,
|
ConfigureButton(this.syncMicDownButton, 1218, 756, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_麥克風-.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MicVolDown"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_麥克風-.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MicVolDown"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_麥克風-.png")), null);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["MicVolDown"])), null);
|
||||||
|
|
||||||
this.syncMicDownButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("麥克風 ↓ ","a2 b6 a4");};
|
this.syncMicDownButton.MouseDown += (sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("麥克風 ↓ ","a2 b6 a4");};
|
||||||
this.syncMicDownButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel(); };
|
this.syncMicDownButton.MouseUp += (sender, e) => { OverlayForm.MainForm.RedisplayTopRigthLabel(); };
|
||||||
@ -122,9 +122,9 @@ namespace DualScreenDemo
|
|||||||
|
|
||||||
|
|
||||||
ConfigureButton(this.syncCloseButton, 1218, 826, 205, 56,
|
ConfigureButton(this.syncCloseButton, 1218, 826, 205, 56,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_關閉.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Close"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_關閉.png")),
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Close"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\同步畫面_關閉.png")), SyncCloseButton_Click);
|
new Bitmap(Path.Combine(serverPath, data["SyncScreen"]["Close"])), SyncCloseButton_Click);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,74 +96,74 @@ namespace DualScreenDemo
|
|||||||
|
|
||||||
btnRomantic = new Button{ Text = "" };
|
btnRomantic = new Button{ Text = "" };
|
||||||
ConfigureButton(btnRomantic, 430, 45, 118, 65,
|
ConfigureButton(btnRomantic, 430, 45, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_浪漫.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Romantic"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_浪漫.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Romantic"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_浪漫.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Romantic"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 d7 a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 d7 a4"));
|
||||||
|
|
||||||
|
|
||||||
btnAuto = new Button{ Text = "" };
|
btnAuto = new Button{ Text = "" };
|
||||||
ConfigureButton(btnAuto, 430, 125, 118, 65,
|
ConfigureButton(btnAuto, 430, 125, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_自動.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Auto"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_自動.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Auto"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_自動.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Auto"])),
|
||||||
null);
|
null);
|
||||||
|
|
||||||
|
|
||||||
btnColorTuning = new Button{ Text = "" };
|
btnColorTuning = new Button{ Text = "" };
|
||||||
ConfigureButton(btnColorTuning, 430, 203, 118, 65,
|
ConfigureButton(btnColorTuning, 430, 203, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_調色.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["ColorTune"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_調色.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["ColorTune"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_調色.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["ColorTune"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 75 a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 75 a4"));
|
||||||
|
|
||||||
|
|
||||||
btnSoft = new Button{ Text = "" };
|
btnSoft = new Button{ Text = "" };
|
||||||
ConfigureButton(btnSoft, 295, 125, 118, 65,
|
ConfigureButton(btnSoft, 295, 125, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_柔和.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Soft"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_柔和.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Soft"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_柔和.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Soft"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 d6 a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 d6 a4"));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
btnDynamic = new Button{ Text = "" };
|
btnDynamic = new Button{ Text = "" };
|
||||||
ConfigureButton(btnDynamic, 295, 203, 118, 65,
|
ConfigureButton(btnDynamic, 295, 203, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_動感.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Dynamic"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_動感.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Dynamic"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_動感.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Dynamic"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 d8 a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 d8 a4"));
|
||||||
|
|
||||||
|
|
||||||
btnDeskLamp = new Button{ Text = "" };
|
btnDeskLamp = new Button{ Text = "" };
|
||||||
ConfigureButton(btnDeskLamp, 430, 283, 118, 65,
|
ConfigureButton(btnDeskLamp, 430, 283, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_桌燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Lamp"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_桌燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Lamp"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_桌燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["Lamp"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 fb a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 fb a4"));
|
||||||
|
|
||||||
|
|
||||||
btnStageLight = new Button{ Text = "" };
|
btnStageLight = new Button{ Text = "" };
|
||||||
ConfigureButton(btnStageLight, 295, 283, 118, 65,
|
ConfigureButton(btnStageLight, 295, 283, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_舞台燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["StageLight"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_舞台燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["StageLight"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_舞台燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["StageLight"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 fa a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 fa a4"));
|
||||||
|
|
||||||
|
|
||||||
btnShelfLight = new Button{ Text = "" };
|
btnShelfLight = new Button{ Text = "" };
|
||||||
ConfigureButton(btnShelfLight, 163, 283, 118, 65,
|
ConfigureButton(btnShelfLight, 163, 283, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_層板燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["ShelfLight"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_層板燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["ShelfLight"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_層板燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["ShelfLight"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 f9 a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 f9 a4"));
|
||||||
|
|
||||||
|
|
||||||
btnWallLight = new Button{ Text = "" };
|
btnWallLight = new Button{ Text = "" };
|
||||||
ConfigureButton(btnWallLight, 29, 283, 118, 65,
|
ConfigureButton(btnWallLight, 29, 283, 118, 65,
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_壁燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["WallLight"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_壁燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["WallLight"])),
|
||||||
new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_壁燈.png")),
|
new Bitmap(Path.Combine(serverPath, data["LightControl"]["WallLight"])),
|
||||||
(sender, e) => SendCommandThroughSerialPort("a2 f8 a4"));
|
(sender, e) => SendCommandThroughSerialPort("a2 f8 a4"));
|
||||||
|
|
||||||
|
|
||||||
@ -248,10 +248,12 @@ namespace DualScreenDemo
|
|||||||
|
|
||||||
if (!pictureBoxToggleLight.Visible)
|
if (!pictureBoxToggleLight.Visible)
|
||||||
{
|
{
|
||||||
|
var data = LoadBtnConfigData();
|
||||||
|
|
||||||
pictureBoxToggleLight.Size = new Size(630, 379);
|
pictureBoxToggleLight.Size = new Size(630, 379);
|
||||||
pictureBoxToggleLight.Location = new Point(570, 359);
|
pictureBoxToggleLight.Location = new Point(570, 359);
|
||||||
ResizeAndPositionPictureBox(pictureBoxToggleLight, 570, 359, 570, 359);
|
ResizeAndPositionPictureBox(pictureBoxToggleLight, 570, 359, 570, 359);
|
||||||
pictureBoxToggleLight.BackgroundImage = new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\3.介面\\燈光控制_完整介面.png"));
|
pictureBoxToggleLight.BackgroundImage = new Bitmap(Path.Combine(serverPath, data["LightControl"]["LightControlBaseUI"]));
|
||||||
pictureBoxToggleLight.BackgroundImageLayout = ImageLayout.Stretch;
|
pictureBoxToggleLight.BackgroundImageLayout = ImageLayout.Stretch;
|
||||||
pictureBoxToggleLight.BringToFront();
|
pictureBoxToggleLight.BringToFront();
|
||||||
SetUIVisible(pictureBoxToggleLight);
|
SetUIVisible(pictureBoxToggleLight);
|
||||||
|
@ -1089,7 +1089,7 @@ namespace DualScreenDemo
|
|||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicGainNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicGainNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicGainNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicGainNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicGainActive"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicGainActive"])),
|
||||||
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("音量 ↑", "a2 b3 a4"); });
|
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabelTime("音量 ↑", "a2 b3 a4"); });
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1099,7 +1099,7 @@ namespace DualScreenDemo
|
|||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicLowNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicLowNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicLowNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicLowNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicLowActive"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MusicLowActive"])),
|
||||||
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("音量 ↓", "a2 b4 a4"); });
|
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabelTime("音量 ↓", "a2 b4 a4"); });
|
||||||
|
|
||||||
if (test)
|
if (test)
|
||||||
{
|
{
|
||||||
@ -1125,7 +1125,7 @@ namespace DualScreenDemo
|
|||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneGainNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneGainNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneGainNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneGainNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneGainActive"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneGainActive"])),
|
||||||
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("麥克風 ↑", "a2 b5 a4"); });
|
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabelTime("麥克風 ↑", "a2 b5 a4"); });
|
||||||
|
|
||||||
|
|
||||||
micDownButton = new Button { Text = "" };
|
micDownButton = new Button { Text = "" };
|
||||||
@ -1134,7 +1134,7 @@ namespace DualScreenDemo
|
|||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneLowNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneLowNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneLowNormal"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneLowNormal"])),
|
||||||
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneLowActive"])),
|
new Bitmap(Path.Combine(serverPath, data["PrimaryFormSubBtn"]["MiPhoneLowActive"])),
|
||||||
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabel("麥克風 ↓", "a2 b6 a4"); });
|
(sender, e) => { OverlayForm.MainForm.ShowTopRightLabelTime("麥克風 ↓", "a2 b6 a4"); });
|
||||||
|
|
||||||
|
|
||||||
originalSongButton = new Button { Text = "" };
|
originalSongButton = new Button { Text = "" };
|
||||||
|
@ -66,6 +66,12 @@ namespace DualScreenDemo
|
|||||||
SetPinYinSongsAndButtonsVisibility(false);
|
SetPinYinSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
||||||
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
|
SetWordCountSongsAndButtonsVisibility(false);
|
||||||
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSingersAndButtonsVisibility(false);
|
||||||
|
SetWordCountSingersAndButtonsVisibility(false);
|
||||||
|
|
||||||
SetSingerSearchButtonsVisibility(true);
|
SetSingerSearchButtonsVisibility(true);
|
||||||
|
|
||||||
|
|
||||||
@ -106,7 +112,7 @@ namespace DualScreenDemo
|
|||||||
InitializeButton(ref wordCountSearchButton, ref wordCountSearchNormalBackground, ref wordCountSearchActiveBackground, "wordCountSearchButton", 1197, 390, 225, 50, data["SingerSearch"]["WordCntSingerNormal"], data["SingerSearch"]["WordCntSingerActive"], WordCountSearchSingersButton_Click);
|
InitializeButton(ref wordCountSearchButton, ref wordCountSearchNormalBackground, ref wordCountSearchActiveBackground, "wordCountSearchButton", 1197, 390, 225, 50, data["SingerSearch"]["WordCntSingerNormal"], data["SingerSearch"]["WordCntSingerActive"], WordCountSearchSingersButton_Click);
|
||||||
|
|
||||||
|
|
||||||
InitializeButton(ref handWritingSearchButton, ref handWritingSearchNormalBackground, ref handWritingSearchActiveBackground, "handWritingSearchButton", 1197, 445, 225, 50, data["SingerSearch"]["EngSingerNormal"], data["SingerSearch"]["EngSingerActive"], HandWritingSearchButtonForSingers_Click);
|
InitializeButton(ref handWritingSearchButton, ref handWritingSearchNormalBackground, ref handWritingSearchActiveBackground, "handWritingSearchButton", 1197, 445, 225, 50, data["SingerSearch"]["HWritingSingerNormal"], data["SingerSearch"]["HWritingSingerActive"], HandWritingSearchButtonForSingers_Click);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -555,6 +555,8 @@ namespace DualScreenDemo
|
|||||||
|
|
||||||
}
|
}
|
||||||
private void FindNumberSongs(){
|
private void FindNumberSongs(){
|
||||||
|
var data = LoadBtnConfigData();
|
||||||
|
|
||||||
string searchText = inputBoxSongIDSearch.Text;
|
string searchText = inputBoxSongIDSearch.Text;
|
||||||
// 在這裡添加搜尋歌曲的邏輯
|
// 在這裡添加搜尋歌曲的邏輯
|
||||||
// 例如:根據輸入框的內容搜尋歌曲
|
// 例如:根據輸入框的內容搜尋歌曲
|
||||||
@ -580,7 +582,7 @@ namespace DualScreenDemo
|
|||||||
this.DoubleBuffered = true;
|
this.DoubleBuffered = true;
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
|
||||||
DrawTextOnVodScreenPictureBox(Path.Combine(serverPath, @"themes\superstar\button\3.介面\歌曲點播_空白介面.png"), currentSelectedSong);
|
DrawTextOnVodScreenPictureBox(Path.Combine(serverPath, data["SongOrderPanel"]["UIBase"]), currentSelectedSong);
|
||||||
SetVodScreenPictureBoxAndButtonsVisibility(true);
|
SetVodScreenPictureBoxAndButtonsVisibility(true);
|
||||||
this.ResumeLayout(true);
|
this.ResumeLayout(true);
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ namespace DualScreenDemo
|
|||||||
SetHandWritingForSongsAndButtonsVisibility(false);
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
SetSongIDSearchAndButtonsVisibility(false);
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
SetZhuYinSongsAndButtonsVisibility(false);
|
SetZhuYinSongsAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
|
|
||||||
SetWordCountSongsAndButtonsVisibility(true); // 顯示字數搜尋相關控件
|
SetWordCountSongsAndButtonsVisibility(true); // 顯示字數搜尋相關控件
|
||||||
// 顯示「注音歌手搜尋」的圖片框
|
// 顯示「注音歌手搜尋」的圖片框
|
||||||
|
@ -76,8 +76,12 @@ namespace DualScreenDemo
|
|||||||
SetPinYinSingersAndButtonsVisibility(false);
|
SetPinYinSingersAndButtonsVisibility(false);
|
||||||
SetPinYinSongsAndButtonsVisibility(false);
|
SetPinYinSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
SetPictureBoxToggleLightAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSongsAndButtonsVisibility(false);
|
||||||
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
SetPictureBoxSceneSoundEffectsAndButtonsVisibility(false);
|
||||||
|
SetWordCountSongsAndButtonsVisibility(false);
|
||||||
|
SetSongIDSearchAndButtonsVisibility(false);
|
||||||
|
SetHandWritingForSingersAndButtonsVisibility(false);
|
||||||
|
SetWordCountSingersAndButtonsVisibility(false);
|
||||||
// 顯示歌曲搜尋選單按鈕
|
// 顯示歌曲搜尋選單按鈕
|
||||||
SetSongSearchButtonsVisibility(true);
|
SetSongSearchButtonsVisibility(true);
|
||||||
|
|
||||||
|
87
img.ini
87
img.ini
@ -305,41 +305,72 @@ OnOff=themes\\superstar\\button\\3.介面\\燈光控制_ON-OFF.png
|
|||||||
|
|
||||||
Brightness=themes\\superstar\\button\\3.介面\\燈光控制_明亮.png
|
Brightness=themes\\superstar\\button\\3.介面\\燈光控制_明亮.png
|
||||||
|
|
||||||
|
Romantic=themes\\superstar\\button\\3.介面\\燈光控制_浪漫.png
|
||||||
|
|
||||||
|
Auto=themes\\superstar\\button\\3.介面\\燈光控制_自動.png
|
||||||
|
|
||||||
|
ColorTune=themes\\superstar\\button\\3.介面\\燈光控制_調色.png
|
||||||
|
|
||||||
|
Soft=themes\\superstar\\button\\3.介面\\燈光控制_柔和.png
|
||||||
|
|
||||||
|
Dynamic=themes\\superstar\\button\\3.介面\\燈光控制_動感.png
|
||||||
|
|
||||||
|
Lamp=themes\\superstar\\button\\3.介面\\燈光控制_桌燈.png
|
||||||
|
|
||||||
|
StageLight=themes\\superstar\\button\\3.介面\\燈光控制_舞台燈.png
|
||||||
|
|
||||||
|
ShelfLight=themes\\superstar\\button\\3.介面\\燈光控制_層板燈.png
|
||||||
|
|
||||||
|
WallLight=themes\\superstar\\button\\3.介面\\燈光控制_壁燈.png
|
||||||
|
|
||||||
|
LightControlBaseUI=themes\\superstar\\button\\3.介面\\燈光控制_完整介面.png
|
||||||
|
|
||||||
|
|
||||||
|
[SyncScreen]
|
||||||
|
|
||||||
|
ServiceBell=themes\\superstar\\button\\3.介面\\同步畫面_服務鈴.png
|
||||||
|
|
||||||
|
CutSong=themes\\superstar\\button\\3.介面\\同步畫面_切歌.png
|
||||||
|
|
||||||
|
Replay=themes\\superstar\\button\\3.介面\\同步畫面_重唱.png
|
||||||
|
|
||||||
|
Original=themes\\superstar\\button\\3.介面\\同步畫面_原唱.png
|
||||||
|
|
||||||
|
Mute=themes\\superstar\\button\\3.介面\\同步畫面_靜音.png
|
||||||
|
|
||||||
|
Stop=themes\\superstar\\button\\3.介面\\同步畫面_暫停.png
|
||||||
|
|
||||||
|
Play=themes\\superstar\\button\\3.介面\\同步畫面_暫停.png
|
||||||
|
|
||||||
|
MusicVolGain=themes\\superstar\\button\\3.介面\\同步畫面_音樂+.png
|
||||||
|
|
||||||
|
MusicVolDown=themes\\superstar\\button\\3.介面\\同步畫面_音樂-.png
|
||||||
|
|
||||||
|
MicVolGain=themes\\superstar\\button\\3.介面\\同步畫面_麥克風+.png
|
||||||
|
|
||||||
|
MicVolDown=themes\\superstar\\button\\3.介面\\同步畫面_麥克風-.png
|
||||||
|
|
||||||
|
Close=themes\\superstar\\button\\3.介面\\同步畫面_關閉.png
|
||||||
|
|
||||||
|
|
||||||
|
[Favorite]
|
||||||
|
|
||||||
|
FilePath=themes\superstar\button\3.介面\我的最愛_
|
||||||
|
|
||||||
|
Enter=themes\superstar\button\3.介面\我的最愛_確認.png
|
||||||
|
|
||||||
|
New=themes\superstar\button\3.介面\我的最愛_新建.png
|
||||||
|
|
||||||
|
Refill=themes\superstar\button\3.介面\我的最愛_重填.png
|
||||||
|
|
||||||
|
Close=themes\superstar\button\3.介面\我的最愛_關閉.png
|
||||||
|
|
||||||
|
FavoriteBaseUI=themes\\superstar\\button\\3.介面\\我的最愛_空白介面.png
|
||||||
|
|
||||||
|
|
||||||
|
[QrCode]
|
||||||
|
|
||||||
|
QrCodeBaseUI=themes/superstar/button/3.介面/手機點歌QR碼_完整介面.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[ImagePaths]
|
[ImagePaths]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user