superstar_v2/PrimaryFormParts/LanguageSearch/PrimaryForm.LanguageSearch.GuoYu.cs

18 lines
809 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 InitializeGuoYuButton()
{
2025-08-06 10:47:43 +08:00
Rectangle guoYuButtonCropArea = new Rectangle(1197, 225, 225, 20);
2025-08-07 13:09:10 +08:00
InitializeButton(ref guoYuButton, "國語", 1197, 225, 225, 50, guoYuButtonCropArea, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_國語(未按).png")), out guoYuNormalBackground, new Bitmap(Path.Combine(serverPath, "themes\\superstar\\button\\2.次類別\\5.語別查詢_國語(已按).png")), out guoYuActiveBackground, GuoYuButton_Click);
2025-04-07 16:54:10 +08:00
}
private void GuoYuButton_Click(object sender, EventArgs e)
{
OnLanguageButtonClick(guoYuButton, guoYuActiveBackground, "國語");
}
}
}