定义委托类
public delegate void DelegateProgress();
调用
protected void Button1_Click(object sender,EventArgs e){
...
DelegateProgress Press = new DelegateProgress(MyFunction);
IAsyncResult result = team_Press.BeginInvoke(null, null);
...
}
protected void MyFunction()
{
...
}