private void scrolltimer_Tick(object sender, EventArgs e)
{
listoffset += scrolldelta;
if(listoffset > (playlist.Count - listitems.Length))
{
listoffset = playlist.Count - listitems.Length;
scrolltimer.Stop();
General.Sounds.Stop("list");
General.Sounds.Play("214");
}
if(listoffset < 0)
{
listoffset = 0;
scrolltimer.Stop();
General.Sounds.Stop("list");
General.Sounds.Play("214");
}
UpdatePlaylistItems();
}