/// <summary> /// Remove the current image from the manager and serve up the next one with updated text. /// </summary> private void nextImage(bool actuallyProgressForward = true) { // Check for end if (manager.ImagesRemaining == 0) { Close(); } else { // Show the next image if (actuallyProgressForward) { image = manager.RandomImage(); } if (Manager.SupportedHtml5VideoFormats.Contains(image.Extension)) { this.updateBrowserVideo(); } else { ChromeBrowser.Load($"file:///{image.FullName}"); updateImageLabels(true); } } }