Progress Bar Related.

  • Thread starter Thread starter Chris Tacke, eMVP
  • Start date Start date
C

Chris Tacke, eMVP

Spawn a thread to do the heavy work before going into the Run loop and
Invoke back to the UI for the progress.
 
Hi,

In the constructor of my main form class, (which is called by
Application.Run(MainClass) in main) I have InitializeComponent and to add to
it some heavy work to do. Also I want to show the progress bar of that heavy
work on to my UI. But I cannot show it since my UI is still not done. Also I
tried writing the "Heavy work" into some thread, but its also of no use
since the heavy work is blocking the UI, (i really donno why and which is
actually against the use of threads)

Can you suggest something as to how should i handle the thing.

Amit.
 
Back
Top