private void SynnMPlayer_Load(object sender, EventArgs e) { player = new SynnMusicPlayer(new List <string> { }); scroling = false; minut = 0; second = 0; timer.Enabled = false; tried = 0; //if (player.Loop == true) // btnLoop.Image = Properties.Resources.selected; //if (player.Shuffle == true) // btnShuffle.Image = Properties.Resources.selected; CheckColumnSize(); ApplyTags(); this.ApplyTheme(); }
public void InitList(List <MusicItem> l) { lstPlaylist = l; player = new SynnMusicPlayer(lstPlaylist.Select(x => x.FullFileName).ToList()); }