C# 跨线程控件取值问题
主要代码如下:
MyThread my = new MyThread(this);
thrs[i] = new Thread(new ThreadStart(TestUserLogin));
线程代码如下
void TestUserLogin()
{
Thread thisThread = Thread.CurrentThread;
try
{
g_uif.UserName = textUserName.Text.ToUpper();//无法取值
---------------------------------
小弟刚接触多线程,望各位大虾不吝赐教,感激涕零。