superstar_v2/PrimaryFormParts/NewSongAlert/PrimaryForm.NewSongAlertKorean.cs

18 lines
562 B
C#
Raw Normal View History

2025-04-07 16:54:10 +08:00
namespace DualScreenDemo
{
public partial class PrimaryForm
{
private void HanYuButtonNewSong_Click(object sender, EventArgs e)
{
UpdateNewSongBtns(hanYuButtonNewSong, hanYuNewSongActiveBackground);
var hanYuSongs2 = SearchSongs_Mysql(setQueryforNewSong("韓語"));
2025-04-07 16:54:10 +08:00
currentPage = 0;
totalPages = (int)Math.Ceiling((double)hanYuSongs2.Count / itemsPerPage);
multiPagePanel.currentPageIndex = 0;
multiPagePanel.LoadSongs(hanYuSongs2);
2025-04-07 16:54:10 +08:00
}
}
}