superstar_v2/PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.KeYu.cs

18 lines
826 B
C#
Raw Normal View History

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 InitializeKeYuButton()
{
2025-08-06 10:47:43 +08:00
Rectangle keYuButtonCropArea = new Rectangle(1197, 555, 225, 50);
InitializeButton(ref keYuButton, "客語", 1197, 555, 225, 50, keYuButtonCropArea, new Bitmap(Path.Combine(Application.StartupPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_客語(未按).png")), out keYuNormalBackground, new Bitmap(Path.Combine(Application.StartupPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_客語(已按).png")), out keYuActiveBackground, KeYuButton_Click);
2025-04-07 16:54:10 +08:00
}
private void KeYuButton_Click(object sender, EventArgs e)
{
OnLanguageButtonClick(keYuButton, keYuActiveBackground, "客語");
}
}
}