private void button1_Click(object sender, EventArgs e)
{
excuteCommand(@"c:\windows\system32\ping.exe", @"-t www.google.cn", new dReadLine(PrintMessage));
}
private void PrintMessage(string strLine)
{
this.textBox1.Text += strLine + " \r\n";
this.textBox1.Update();
Application.DoEvents();
}