void DirectoryWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
if (e.Result != null && e.Result.GetType().Equals(typeof(List<FileInfo>)))
{
unzipped = (List<FileInfo>)e.Result;
torrents.AddRange(unzipped);
Process(torrents);
}
else
{
StatusLabel.Text = "Status";
Busy = false;
dataGridViewProgressBar.Visible = false;
StatusLabel.Visible = false;
DirectoryHandler.MoveZipFiles();
}
return;
}