Beispiel #1
0
        static void Main()
        {
            var filesystem = new HexImagerFilesystem(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures) + @"\FLIR Tests 2\");
            var map        = filesystem.MapFilenames();
            var imageFile  = map.First();

            var writer = new HexImagerVideoWriter(imageFile);

            writer.WriteFile(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures) + @"\FLIR Tests 2\testVideo.avi");
        }
        public void UpdateListView()
        {
            Console.WriteLine("Updating list view");
            recordingsListView.Items.Clear();

            var directoryMap = _filesystem.MapFilenames();

            foreach (var recording in directoryMap)
            {
                var lv = new ListViewItem(recording.FormatItem())
                {
                    Tag = recording
                };
                recordingsListView.Items.Add(lv);
            }
        }