Exemplo n.º 1
0
        public void RemoveAlbum(Album album)
        {
            AlbumListRecord albumList = dfr[PhotoDataSetIndex.AlbumList].Data as AlbumListRecord;

            albumList.RemoveAlbum(album.Record);

            albums.Remove(album);
        }
Exemplo n.º 2
0
        private Album CreateAlbum()
        {
            AlbumRecord record = new AlbumRecord(device.IsBE);

            AlbumListRecord albumList = dfr[PhotoDataSetIndex.AlbumList].Data as AlbumListRecord;

            albumList.AddAlbum(record);

            return(new Album(record, this));
        }