2025-08-06 10:47:43 +08:00
|
|
|
using System.IO;
|
|
|
|
|
2025-04-07 16:54:10 +08:00
|
|
|
namespace DualScreenDemo
|
|
|
|
{
|
|
|
|
public partial class PrimaryForm
|
|
|
|
{
|
|
|
|
private void InitializeYueYuButton()
|
|
|
|
{
|
2025-08-06 10:47:43 +08:00
|
|
|
Rectangle yueYuButtonCropArea = new Rectangle(1197, 335, 225, 50);
|
2025-08-07 13:09:10 +08:00
|
|
|
InitializeButton(ref yueYuButton, "粵語", 1197, 335, 225, 50, yueYuButtonCropArea, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_粵語(未按).png")), out yueYuNormalBackground, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_粵語(已按).png")), out yueYuActiveBackground, YueYuButton_Click);
|
2025-04-07 16:54:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
private void YueYuButton_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
OnLanguageButtonClick(yueYuButton, yueYuActiveBackground, "粵語");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|