Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public Picture(string filePath)
 {
     FilePath = filePath;
     _form    = new Forms.PictureForm();
 }