Esempio n. 1
0
 void Run(bool forceMontage)
 {
     var work = Subdirectories
         .Where(z => z.Selected)
         .SelectMany(z => TutoProgram.MakeAll(z.FullPath, forceMontage))
         .ToArray();
     var window = new BatchWorkWindow();
     window.Run(work);
 }
Esempio n. 2
0
 public void RepairFaceSelected()
 {
     var work = Subdirectories
         .Where(z => z.Selected)
         .Select(z => new BatchWork
             {
                 Name = "Repairing face in"+z.Name,
                 Work=() =>
                     TutoProgram.Repair(new DirectoryInfo(z.FullPath), true)
             })
         .ToArray();
     var window = new BatchWorkWindow();
     window.Run(work);
 }