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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top