WrapperTest.TesterForm.SetText C# (CSharp) 메소드

SetText() 개인적인 메소드

private SetText ( string text ) : void
text string
리턴 void
        private void SetText(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.FfbTextBox.InvokeRequired)
            {
                SetTextCallback d = new SetTextCallback(SetText);
                this.Invoke(d, new object[] { text });
            }
            else
            {
                this.FfbTextBox.Text = text;
            }
        }