if (!bRunning) { value = Convert.ToInt32(StartValBox.Text); outCount = 0; inCount = 0; bRunning = true; StartBtn.Text = "Stop"; StartBtn.BackColor = Color.Pink; //creates new