private void buttonScanStop_Click(object sender, EventArgs e) { this.continueScanning = false; this.buttonScanChannels.Enabled = true; this.buttonScanStop.Enabled = false; }