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 InitializeRiYuButton()
|
|
|
|
{
|
2025-08-06 10:47:43 +08:00
|
|
|
Rectangle riYuButtonCropArea = new Rectangle(1197, 445, 225, 50);
|
2025-08-07 13:09:10 +08:00
|
|
|
InitializeButton(ref riYuButton, "日語", 1197, 445, 225, 50, riYuButtonCropArea, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_日語(未按).png")), out riYuNormalBackground, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_日語(已按).png")), out riYuActiveBackground, RiYuButton_Click);
|
2025-04-07 16:54:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
private void RiYuButton_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
OnLanguageButtonClick(riYuButton, riYuActiveBackground, "日語");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|