                 Application.DoEvents();                  Invoke(new Action(() => progressBar0.Value++));             }         }         catch (UnauthorizedAccessException ex)         {             // ok, so we are not allowed to dig into that directory. Move on.         }     