void Initialize()
{
this.threads = new Thread[threadCount];
ThreadStart start = new ThreadStart(this.ValidateProxys);
for (int i = 0; i < threads.Length; i++)
{
threads[i] = new Thread(start);
}
} private void ValidateButton_Click(object sender, System.EventArgs e)
{
// 在第2,3,4,..次单击时抛出异常线程
//在第2,3,4,....次单击时怎样重新开始线程?
for (int i = 0; i < threads.Length; i++)
{
threads[i].Start();
}
for (int i = 0; i < threads.Length; i++)
{
threads[i].Join();
}
}