void CallBackInvoke(IAsyncResult iar) { InProgressDelegate result = iar.AsyncState as InProgressDelegate; result.EndInvoke(iar); }
private void InProgressBarInvoke() { InProgressDelegate invoker = new InProgressDelegate(Progress); invoker.BeginInvoke(new AsyncCallback(CallBackInvoke), invoker); }