public AlbumView(PhotoAlbum m_selectedAlbum) { InitializeComponent(); m_album = m_selectedAlbum; m_albumIterator = m_selectedAlbum.Iterator; updateImageAndIndexIndicator(); }
private void AlbumSelectionChangeListener(object sender, SelectionChangedEventArgs e) { Album album = ((sender as ListBox).SelectedItem as Album); m_selectedAlbum = new PhotoAlbum(album.Name, album.PictureSmallURL, album.Comment, album.Like); albumCommentTextBox.Text = "Add album comment"; }