Example #1
0
 // Desca y guarda en SpcrapingData
 private void CargarArchivo()
 {
     try
     {
         SpcrapingData.CargarDocCargado(Path, Archivos.CargarArchivoEnDoc(Path));
     }catch (Exception e)
     {
         MessageBox.Show("Path incorrecta");
     }
 }
Example #2
0
 void worker_CargarCarpetaCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     try
     {
         //MessageBox.Show("Numbers between 0 and 10000 divisible by 7: ");
         foreach (KeyValuePair <string, HtmlDocument> item in (Dictionary <string, HtmlDocument>)e.Result)
         {
             SpcrapingData.CargarDocCargado(item.Key.ToString(), item.Value);
         }
     }
     catch (Exception ex)
     {
     }
 }