internal void SetTextFeedback(string text) { // InvokeRequired required compares the thread ID of the // calling thread to the thread ID of the creating thread. // If these threads are different, it returns true. if (this.BeatLog.InvokeRequired) { SetTextFeedbackCallback d = new SetTextFeedbackCallback(SetTextFeedback); this.Invoke(d, new object[] { text }); } else { this.scoreFeedbackText.Text = text; } }