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 InitializeYingWenButton()
|
|
|
|
{
|
2025-08-06 10:47:43 +08:00
|
|
|
Rectangle yingWenButtonCropArea = new Rectangle(1197, 390, 225, 50);
|
2025-08-07 13:09:10 +08:00
|
|
|
InitializeButton(ref yingWenButton, "英文", 1197, 390, 225, 50, yingWenButtonCropArea, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_英語(未按).png")), out yingWenNormalBackground, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_英語(已按).png")), out yingWenActiveBackground, YingWenButton_Click);
|
2025-04-07 16:54:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
private void YingWenButton_Click(object sender, EventArgs e)
|
|
|
|
{
|
2025-05-20 16:16:27 +08:00
|
|
|
OnLanguageButtonClick(yingWenButton, yingWenActiveBackground, "英語");
|
2025-04-07 16:54:10 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|