superstar_v2/PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.TaiYu.cs

19 lines
836 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 InitializeTaiYuButton()
{
2025-08-06 10:47:43 +08:00
Rectangle taiYuButtonCropArea = new Rectangle(1197, 280, 225, 50);
InitializeButton(ref taiYuButton, "台語", 1197, 280, 225, 50, taiYuButtonCropArea, new Bitmap(Path.Combine(Application.StartupPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_台語(未按).png")), out taiYuNormalBackground, new Bitmap(Path.Combine(Application.StartupPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_台語(已按).png")), out taiYuActiveBackground, TaiYuButton_Click);
2025-04-07 16:54:10 +08:00
}
private void TaiYuButton_Click(object sender, EventArgs e)
{
OnLanguageButtonClick(taiYuButton, taiYuActiveBackground, "台語");
}
}
}