/// <summary> /// Constructor. /// </summary> /// <param name="thumbnailsSequence">The thumbnails sequence parent container</param> /// <param name="thumbnailIndex">The index of the thumbnail in the thumbnail sequence of the folder</param> /// <param name="imageFile">The image file whose thumbnail is to be displayed</param> public ThumbnailBox(ThumbnailsSequence thumbnailsSequence, int thumbnailIndex, ImageFile imageFile) { InitializeComponent(); this.thumbnailsSequence = thumbnailsSequence; this.thumbnailIndex = thumbnailIndex; this.imageFile = imageFile; SetLoadingImageThumbnail(); }