private void btnStop_Click(object sender, EventArgs e) { mainWorker.Stop(); btnStop.Enabled = false; }