Beispiel #1
0
 private List <Batch> ProcessSelectedBatchReportFile(string path)
 {
     if (File.Exists(path))
     {
         var batchReportContents = new BatchReport(path);
         return(batchReportContents.Scan());
     }
     MessageBox.Show("Whoops! We can't find a file located at '" + path + "'");
     return(new List <Batch>());
 }