public SongsContainer(Album album) { InitializeComponent(); albumName.Text = album.Title; artistName.Text = album.Artist; ThreadPool.QueueUserWorkItem(SetupSongsContainer,album); }
public SongsControl(Album album) { Init(); var panel = new Panel { AutoScroll = true, Dock = DockStyle.Fill }; Controls.Add(panel); var viewer = new SongViewer.SongViewer(album) { Dock = DockStyle.Fill }; panel.Height = viewer.Height; panel.Controls.Add(viewer); }
public AlbumCoverAndText(Album album) { InitializeComponent(); albumCoverArt.BorderStyle = BorderStyle.FixedSingle; albumCoverArt.Album = album; albumCoverArt.Image = album.CoverArt(100); albumTitle.Text = album.Title; albumArtist.Text = album.Artist; }
public SongsControl(Album album) { Init(); }
public SongViewer(Album album) { InitializeComponent(); ThreadPool.QueueUserWorkItem(CreateSongContainerAlbum, album); }
public static IList<Song> GetAlbumSongs(Album album) { return GetAlbumSongs(album.Id); }