public SearchForm(Playlist newPlaylist) { InitializeComponent(); playlist = newPlaylist; songList = playlist.songs; }
public Player() { InitializeComponent(); irrKlangEngine = new IrrKlang.ISoundEngine(); tbarVolume.Value = 100; playlist = new Playlist(this); this.AddOwnedForm(playlist); playlist.Show(); UpdatePlaylistPosition(); timer = new Timer(); timer.Enabled = true; timer.Interval = 500; timer.Tick += new EventHandler(tbarProgress_Update); }