private void PreviewImage()
 {
     if (imagenesDB.Images.Count > 0)
     {
         using (var viewer = new frmVisualizador())
         {
             viewer.bEdicion       = false;
             viewer.ImageList      = imagenesDB;
             viewer.ImageIndex     = 0; //SelectedIndices.First();
             viewer.DeleteCallback = UpdateThumbnails;
             viewer.UpdateCallback = UpdateThumbnails;
             viewer.ShowDialog();
         }
     }
 }
 private void PreviewImage()
 {
     if (SelectedIndices.Any())
     {
         using (var viewer = new frmVisualizador())
         {
             viewer.bEdicion       = true;
             viewer.ImageList      = imagenesCapturadas;
             viewer.ImageIndex     = SelectedIndices.First();
             viewer.DeleteCallback = UpdateThumbnails;
             viewer.UpdateCallback = UpdateThumbnails;
             viewer.ShowDialog();
         }
     }
 }