예제 #1
0
 public int SaveAsImages(string savePath, bool useDateTimeForFileNames)
 {
     Njit.Program.Forms.SaveFiles saveForm = new Njit.Program.Forms.SaveFiles(null, this.Files.ToArray(), savePath, new Njit.Common.SystemUtility(), useDateTimeForFileNames);
     saveForm.ShowDialog();
     if (saveForm.Tag is int)
     {
         return((int)saveForm.Tag);
     }
     else
     {
         return(0);
     }
 }
예제 #2
0
 public int SaveAsImages(Action <string> saveMethod)
 {
     Njit.Program.Forms.SaveFiles saveForm = new Njit.Program.Forms.SaveFiles(saveMethod, this.Files.ToArray(), (string)null, null, false);
     saveForm.ShowDialog();
     if (saveForm.Tag is int)
     {
         return((int)saveForm.Tag);
     }
     else
     {
         return(0);
     }
 }