Exemplo n.º 1
0
 public SongsContainer(Album album)
 {
     InitializeComponent();
     albumName.Text = album.Title;
     artistName.Text = album.Artist;
     ThreadPool.QueueUserWorkItem(SetupSongsContainer,album);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 public SongsControl(Album album)
 {
     Init();
 }
Exemplo n.º 5
0
 public SongViewer(Album album)
 {
     InitializeComponent();
     ThreadPool.QueueUserWorkItem(CreateSongContainerAlbum, album);
 }
Exemplo n.º 6
0
 public static IList<Song> GetAlbumSongs(Album album)
 {
     return GetAlbumSongs(album.Id);
 }