给自己看的--异步编程
//开启新线程,执行比较耗时的任务
ParameterizedThreadStart ts = new ParameterizedThreadStart(DoJob);
Thread thread = new Thread(ts);
thread.Start(ro);
private void DoJob(object arg)
{
var ro = arg as ReturnObject;
//..
//...
}
------解决方案--------------------没有然后了,结贴给分吧
------解决方案--------------------------解决方案--------------------多线程给分吧
------解决方案--------------------