internal void SetNextPlayName(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.nextPlayName.InvokeRequired)
     {
         SetNextPlayNameCallback d = new SetNextPlayNameCallback(SetNextPlayName);
         this.Invoke(d, new object[] { pPlayName });
     }
     else
     {
         this.nextPlayName.Text = pPlayName;
     }
 }
 internal void SetNextPlayName(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.nextPlayName.InvokeRequired)
     {
         SetNextPlayNameCallback d = new SetNextPlayNameCallback(SetNextPlayName);
         this.Invoke(d, new object[] { pPlayName });
     }
     else
     {
         this.nextPlayName.Text = pPlayName;
     }
 }