private void stopDataCollectionButton_Click(object sender, EventArgs e) { data_collection_enabled = false; startDataCollectionButton.Enabled = true; stopDataCollectionButton.Enabled = false; gyroCalStatusText.Text = "Inactive"; }