示例#1
0
 /// <summary>
 /// 多线程访问控件委托,在textBox中显示数据
 /// </summary>
 public static void showDataInTextBox(ref UITextBox textBox, string data)
 {
     if (textBox.InvokeRequired)
     {
         showDataInTextBoxDelegate d = showDataInTextBox;
         textBox.Invoke(d, textBox, data);
     }
     else
     {
         textBox.Text = data;
     }
 }