2025-04-07 16:54:10 +08:00
|
|
|
namespace DualScreenDemo
|
|
|
|
{
|
|
|
|
public partial class PrimaryForm
|
|
|
|
{
|
|
|
|
private void YingWenButtonNewSong_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
|
2025-08-12 17:11:13 +08:00
|
|
|
UpdateNewSongBtns(yingWenButtonNewSong, yingWenNewSongActiveBackground);
|
2025-07-03 18:15:21 +08:00
|
|
|
var yingWenSongs2 = SearchSongs_Mysql(setQueryforNewSong("英語"));
|
2025-04-14 16:32:29 +08:00
|
|
|
|
2025-04-07 16:54:10 +08:00
|
|
|
currentPage = 0;
|
|
|
|
totalPages = (int)Math.Ceiling((double)yingWenSongs2.Count / itemsPerPage);
|
|
|
|
|
|
|
|
|
|
|
|
multiPagePanel.currentPageIndex = 0;
|
2025-07-03 18:15:21 +08:00
|
|
|
multiPagePanel.LoadSongs(yingWenSongs2);
|
2025-04-07 16:54:10 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|