Exemple #1
0
		public void ReportProgress( int percent, object state ) {
			if( WorkerReportsProgress ) {
				ProgressChangedEventArgsBw progressArgs;
				progressArgs = new ProgressChangedEventArgsBw( percent, state );
				OnProgressChanged( progressArgs );
			}
		}
 public void ReportProgress(int percent, object state)
 {
     if (WorkerReportsProgress)
     {
         ProgressChangedEventArgsBw progressArgs;
         progressArgs = new ProgressChangedEventArgsBw(percent, state);
         OnProgressChanged(progressArgs);
     }
 }
 protected virtual void OnProgressChanged(ProgressChangedEventArgsBw progressArgs)
 {
     ProcessDelegate(ProgressChanged, this, progressArgs);
 }
Exemple #4
0
		protected virtual void OnProgressChanged( ProgressChangedEventArgsBw progressArgs ) {
			ProcessDelegate( ProgressChanged, this, progressArgs );
		}