public SlideShow(string folderPath, int slideShowIntervalInSeconds) { FolderPath = folderPath; var picturesDir = new DirectoryInfo(folderPath); var filter = "*.png"; _pictures = picturesDir.GetFiles(filter); _picturesCount = _pictures.Length; _form = new Forms.PictureForm(); _timerInterval = slideShowIntervalInSeconds * 1000; }
public Picture(string filePath) { FilePath = filePath; _form = new Forms.PictureForm(); }