예제 #1
0
 private void PopulateImageList()
 {
     Items.Clear();
     try
     {
         var images = CameraDevice.GetObjects(null);
         foreach (DeviceObject deviceObject in images)
         {
             Items.Add(new FileItem(deviceObject, CameraDevice));
         }
     }
     catch (Exception exception)
     {
         MessageBox.Show(TranslationStrings.LabelErrorLoadingFileList);
         Log.Error("Error loading file list", exception);
     }
 }