public IAsyncResult BeginCalculate(int digits) { dlg = new CalculateDelegate(this.Calculate); AsyncCallback callback = new AsyncCallback(this.CalculateCallback); return(dlg.BeginInvoke(digits, callback, dlg)); }
public IAsyncResult BeginCalculate(int digits) { dlg = new CalculateDelegate(this.Calculate); AsyncCallback callback = new AsyncCallback(this.CalculateCallback); return(dlg.BeginInvoke(digits, callback, dlg)); }