public void RemoveAlbum(Album album) { AlbumListRecord albumList = dfr[PhotoDataSetIndex.AlbumList].Data as AlbumListRecord; albumList.RemoveAlbum(album.Record); albums.Remove(album); }
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)); }