public void OnRaiseProgressChanged(MultiProgressChangedEventArgs args)
 {
     if (ProgressChanged != null)
     {
         ProgressChanged(this, args);
     }
 }
 public void OnRaiseProgressChanged(MultiProgressChangedEventArgs args)
 {
     if (ProgressChanged != null)
     {
         ProgressChanged(this, args);
     }
 }
        public void ReportProgress(object taskId, int percentage, object userState)
        {
            AsyncOperation async = GetAysncOperation(taskId);

            if (async != null)
            {
                MultiProgressChangedEventArgs e = new MultiProgressChangedEventArgs(async.UserSuppliedState, percentage, userState);
                async.Post(onProgressChangedDelegate, e);
            }
        }
        public void ProgressReport(object operationState)
        {
            MultiProgressChangedEventArgs e = operationState as MultiProgressChangedEventArgs;

            this.OnRaiseProgressChanged(e);
        }
Esempio n. 5
0
 void multiBackgroundWorker1_ProgressChanged(object sender, Core.MultiProgressChangedEventArgs e)
 {
     UpdateListView((string)e.TaskID, e.ProgressPercentage, e.UserState);
 }
 public void ReportProgress(object taskId, int percentage, object userState)
 {
     AsyncOperation async = GetAysncOperation(taskId);
     if (async != null)
     {
         MultiProgressChangedEventArgs e = new MultiProgressChangedEventArgs(async.UserSuppliedState, percentage, userState);
         async.Post(onProgressChangedDelegate, e);
     }
 }