首页 > 代码库 > c#线程带参数

c#线程带参数

c#线程带参数

  

       ThreadStart threadStart = delegate { LoadPicture(ds.Tables[0]); };

                    Thread thread = new Thread(threadStart);

                    thread.IsBackground = true;

                    thread.Start();

 

LoadPicture(方法带参数)

c#线程带参数