日期:2014-05-17 浏览次数:20960 次
public void duoxian() { int a = dataGridView1.Row.Count; Thread[] tPing = new Thread[a]; for (int i = 0; i < tCount; i++) { tPing[i] = new Thread(new ParameterizedThreadStart(ping)); tPing[i].Start(); } }
void Button_Click(sender, e) { duoxian(); }