ProgressBar while MDI child form is loading

  • Thread starter Thread starter Thomas
  • Start date Start date
T

Thomas

Hello,

I don't know if such question was already posted but I didn't find anything
through different posts.

I have the Main MDI window with a StatusBar. Inside my StatusBar there is a
ProgressBar. When I click on the menu in my MDI Parent, a child form is
loaded. I would like to know if there is a way to increment a progressbar
value while child form is loading ? I tried to use background worker but i
had some cross thread access exceptions. any ideas ? Thanks in advance.

Thomas
 
You could expose a public method on your main window that allows you to write
the percentage to it from the child.
 
Hello,

I don't know if such question was already posted but I didn't find anything
through different posts.

I have the Main MDI window with a StatusBar. Inside my StatusBar there is a
ProgressBar. When I click on the menu in my MDI Parent, a child form is
loaded. I would like to know if there is a way to increment a progressbar
value while child form is loading ? I tried to use background worker but i
had some cross thread access exceptions. any ideas ? Thanks in advance.

Thomas

Check this out.. this should help you do what you want to do.

I use the marquee mode in the progress bar. and then hide/unhide it
as and when needed..
 
Back
Top