I was stuck and hoped that someone could help me.
I created a / gui class with a loading panel set to highlight so that when I complete a task, I can display it to the user.
In one of my gui classes, in the constructor on the first line, I make a new instance of this class and then do
LoadingBar bar = new LoadingBar();
Thread thread = new Thread(bar.Show);
thread.Start();
However, even in the main program flow more intense material happens, this gui still seems to freeze, even if I use the backround worker.
Is there something wrong with the approach I mentioned, and if so, what do I need to change?
thank
source
share