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?
 
Back
Top