定义委托类
调用
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() { ... }
回复Comments
作者:
{commentrecontent}