How to make cross-thread calls. (多线程操控窗体控件之不可行)
在准备调起一个线程来操控一个界面上的ProgressBar的状态时,遇到了How to make cross-thread calls.这种错误.
More Details See here
http://msdn.microsoft.com/en-us/library/ms171728.aspx
1 thr_start_func = new ThreadStart(ProgressBarStatus);
2 fThread = new Thread(thr_start_func);
3 fThread.Start();
2 fThread = new Thread(thr_start_func);
3 fThread.Start();
More Details See here
http://msdn.microsoft.com/en-us/library/ms171728.aspx
- Make people around you successful is the biggest contribution to ourselves. -