线程间操作winform
public void GlobaltoShow()
{
label9.BeginInvoke(new System.EventHandler(setTotalLabel), Convert.ToString(Global.ChuCurrMax));
label10.BeginInvoke(new System.EventHandler(setTotalLabe2), Convert.ToString(Global.ChuCurrSend));
}
public void setTotalLabel(object name, EventArgs e)
{
label9.Text = name.ToString();
}