Arguments for constructor of ProgressChangedEventArgs

  • Thread starter Thread starter Curious
  • Start date Start date
C

Curious

Hi,

I use background worker, and I have an event handler,
"WorkProgressChanged" to launch an update of UI controls when the
progress is changed in the background work:

if(WorkProgressChanged != null)
WorkProgressChanged(this, new
ProgressChangedEventArgs(\\ what arguments to use here????));

Anyone can tell me what arguments to use in constructing a
"ProgressChangedEventArgs"?
 
Thanks! What's the difference between this "ProgressChanged" and
"ReportProgress"? It seems that they are both used to update the
progression bar.
 
Back
Top