Updating Progress bar on Form1 from another class

  • Thread starter Thread starter TomTom
  • Start date Start date
T

TomTom

I am creating a C# Windows application and created several classes. I use
VS.NET. I need to update the value of the progress bar on Form1 while a
time-consuming process is being done in Class1, but I don't know a good way
to do this. Should I make the fields in Form1 static to update the progress
bar value? This does not seem to work because I have to edit the
InitializeComponent field to do this. Can anyone suggest me a good way to do
this?
 

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