Esempio n. 1
0
 void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     int row = 0;
     foreach(ImageInfo image in images)
     {
         Invoke(new InvokeRunningImageRow(RunningImageRow), row);
         DateTime start = DateTime.Now;
         ImageInkFinder finder = new ImageConverter().GetImageInkFinder(image.FullFileName);
         image.IsDot = finder.IsInk();
         image.Time = DateTime.Now - start;
         Invoke(new InvokeViewImageRow(ViewImageRow), image, row);
         row++;
     }
 }