private void btnExtract_Click(object sender, EventArgs e)
{
try
_Separator = tbSeparator.Text.Trim();
Extract Extract = new Extract { URL = tbURL.Text };
Extract.OnCompletion += new Extract.Completion(Extract_OnCompletion);
Thread thread = new Thread(new ThreadStart(Extract.Start));
thread.Start();
btnExtract.Enabled = false;
}
catch (Exception ex)
MessageBox.Show(ex.Message);