private void FileExtractionStarted(object sender, FileInfoEventArgs e)
{
//when the next file is being compressed.
lbl_commpressing_file.Invoke(new FileInfoEvent((object o, FileInfoEventArgs l) =>
{
lbl_commpressing_file.Text = String.Format(_commpressingFileName, l.FileInfo.FileName);
}), sender, e);
pb_totaalfiles.Invoke(new FileInfoEvent((object o, FileInfoEventArgs l) =>
{
pb_totaalfiles.Value = l.PercentDone;
}), sender, e);
pb_compression.Invoke(new InvokeEvent((object o, EventArgs l) =>
{
pb_compression.Value = 0;
}), sender, e);
}