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);
}
}

Vinoth RajendranRank #74 · 25K reputationPosted Dec 27, 2015, 7:11 AM EST
Dwayne Adams5 reputationPosted Dec 27, 2015, 7:36 AM EST
Vinoth RajendranRank #74 · 25K reputationPosted Dec 27, 2015, 7:56 AM EST
Dwayne Adams5 reputationPosted Dec 27, 2015, 9:55 AM EST