private void BtnStart_Click(object sender, EventArgs e) { if (!mainLoop.IsBusy) { //code actually works with these enabled, but I'm being safe NumBoxX.Enabled = false; NumBoxY.Enabled = false; NumBoxScale.Enabled = false; ComboRes.Enabled = false; if (MysticLightSDK.IsAvailable()) { MysticLightSDK.Init(false); } if (LogitechGSDK.IsAvailable()) { LogitechGSDK.Init(false); } LightsOff(); mainLoop.RunWorkerAsync(); StatusLabel.Text = "0"; //StatusLabel.Text = "Scanning..."; } }