예제 #1
0
 public static bool TryProcessFiles(IEnumerable <FileActionInfo> actions, Action beforeShowForm)
 {
     if (Try(actions))
     {
         return(true);
     }
     beforeShowForm();
     using (FileRetryForm form = new FileRetryForm(actions))
     {
         return(form.ShowDialog() == DialogResult.OK);
     }
 }
예제 #2
0
 public static bool TryProcessFiles(IEnumerable<FileActionInfo> actions, Action beforeShowForm)
 {
     if (Try(actions))
     {
         return true;
     }
     beforeShowForm();
     using (FileRetryForm form = new FileRetryForm(actions))
     {
         return (form.ShowDialog() == DialogResult.OK);
     }
 }