internal void SetPreviousPlayName(string pPlayName) { // 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.previousPlayName.InvokeRequired) { SetPreviousPlayNameCallback d = new SetPreviousPlayNameCallback(SetPreviousPlayName); this.Invoke(d, new object[] { pPlayName }); } else { this.previousPlayName.Text = pPlayName; } }