コード例 #1
0
 public AlbumView(PhotoAlbum m_selectedAlbum)
 {
     InitializeComponent();
     m_album = m_selectedAlbum;
     m_albumIterator = m_selectedAlbum.Iterator;
     updateImageAndIndexIndicator();
 }
コード例 #2
0
 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";
 }