public AlbumDialog(AlbumDialogOption option, AlbumView album) { this.InitializeComponent(); switch (option) { case AlbumDialogOption.Properties: break; case AlbumDialogOption.AlbumArt: break; } AlbumArtController.SetAlbumArt(album); }
public MusicDialog(MusicDialogOption option, Music music) { this.InitializeComponent(); switch (option) { case MusicDialogOption.Properties: MusicDialogPivot.SelectedItem = PropertiesItem; break; case MusicDialogOption.Lyrics: MusicDialogPivot.SelectedItem = LyricsItem; break; case MusicDialogOption.AlbumArt: MusicDialogPivot.SelectedItem = AlbumArtItem; break; } MusicInfoController.SetMusicInfo(music); MusicLyricsController.SetLyrics(music); AlbumArtController.SetAlbumArt(music); }