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.
 

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