public ImageGallery() { dbManager = new DBManager(); startIndex = 0; images = new List<ImageObject>(dbManager.getGalleryImages()); latestId = getIdOfImageAtIndex(this.images.Count() - 1); isSelected = false; }
public ImageCollection() { dbManager = new DBManager(); images = new List<ImageObject>(dbManager.getGalleryImages()); latestId = getIdImageAtIndex(getImageCount() - 1); }