예제 #1
0
 public void Start(bool isGetPic, WorkerResultHandler resultHandler)
 {
     if (Worker.IsBusy)
         return;
     _resultHandler = resultHandler;
     string picName = isGetPic ? AppContext.Company.CompanyPhoto : string.Empty;
     Worker.RunWorkerAsync(new object[] { AppContext.Company.Id, picName });
 }
예제 #2
0
 public void Start(WorkerResultHandler resultHandler)
 {
     Start(false, resultHandler);
 }