示例#1
0
 // Define the method that will get called when
 // the asynchronous task is ended.
 public void OnEnd(IAsyncResult ar)
 {
     _taskprogress += "AsyncTask completed at: " + DateTime.Now;
     _dlgt.EndInvoke(ar);
 }
 // Define the method that will get called when
 // the asynchronous task is ended.
 public void OnEnd(IAsyncResult ar)
 {
     _taskprogress = "Asynchronous task completed.";
     _dlgt.EndInvoke(ar);
 }