예제 #1
0
        public void RemoveAlbum(Album album)
        {
            AlbumListRecord albumList = dfr[PhotoDataSetIndex.AlbumList].Data as AlbumListRecord;

            albumList.RemoveAlbum(album.Record);

            albums.Remove(album);
        }
예제 #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));
        }