for (int i = 0; i < listbox.items.count; i++)
{
string strvalue = listbox.items[i].toString(); //这个参数要传到this.click1里。
thread1[i] = new Thread(new ThreadStart(this.click1));
thread1[i].IsBackground = true;
thread1[i].Start();
}
{
string strvalue = listbox.items[i].toString(); //这个参数要传到this.click1里。
thread1[i] = new Thread(new ThreadStart(this.click1));
thread1[i].IsBackground = true;
thread1[i].Start();
}
解决方案 »
- Winform在未激活的状态下执行事件
- html格式转换成doc
- c# 监视 串口 数据问题
- 求助,关于slickupload
- 这样的正则表达式该如何写?(%xxx%)(%xxx%)(%xxx%)
- 为什么显示dataGrid老是要自己点开表
- 请问c#写的dll能否被其他语言调用?
- this.dgvListtable.Rows[e.RowIndex].HeaderCell.Value显示行号这个应该写在什么事件中
- help~~~~~~~~~~!!!如何访问动态生成的tabpage中的自定义控件的属性(winform)
- 关于C#.Net和Dreamweaver中模板问题!
- 一段向Access中保存图片的程序,请高手指点一下
- 如何代码实现浏览【网上邻居】文件夹功能?
for (int i = 0; i < listbox.items.count; i++)
{
string strvalue = listbox.items[i].toString(); //这个参数要传到this.click1里。
thread1[i] = new System.Threading.Thread(new System.Threading.ParameterizedThreadStart(this.click1));
thread1[i].IsBackground = true;
thread1[i].Start((object)strvalue);
}