日期:2014-05-18 浏览次数:20938 次
this.txtOCardNO1.Invoke(new MethodInvoker( delegate { txtOCardNO1.Text = pcid; } )); this.txtOutTime.Invoke(new MethodInvoker( delegate { txtOutTime.Text = DateTime.Now.ToString(); } ));
if (textBox1.InvokeRequired) { textBox1.Invoke(...); }