예제 #1
0
 public void ReportObjectLoaded(int percent, object obj)
 {
     if (WorkerReportsProgress)
     {
         ObjectLoadedProviderEventArgs progressArgs;
         progressArgs = new ObjectLoadedProviderEventArgs(percent, obj);
         OnObjectLoaded(progressArgs);
     }
 }
예제 #2
0
 protected virtual void OnObjectLoaded(ObjectLoadedProviderEventArgs progressArgs)
 {
     ProcessDelegate(ObjectLoaded, this, progressArgs);
 }