I want to display progress bar when run a function. That progress bar value in change with run it.
I use background worker
private void worker_DoWork(object sender, DoWorkEventArgs e)
{
// run function.
}
While run function i want to change ProgressBar value.
I want to use ReportProgress(Int32)
but what Int32 can i set for it?