Hi,
I have a windows forms program that uses docking windows. Now, when somebody logs in, I want to display a tool strip progress bar so that the user can see that the program is doing something as it can take a good few seconds for all the docking window layouts to load and then display. I have looked at the backgroundworker control to run the progress bar but cannot seem to get it to work. I think it is because the progress bar is part of the main UI and you can't touch the UI from a backgroundworker control. I put a breakpoint on the BackgroundWorker1_ProgressChanged sub and it doesn't get called until all the docking windows have finished loading.
Anyone have any ideas of how to do this??
I have a windows forms program that uses docking windows. Now, when somebody logs in, I want to display a tool strip progress bar so that the user can see that the program is doing something as it can take a good few seconds for all the docking window layouts to load and then display. I have looked at the backgroundworker control to run the progress bar but cannot seem to get it to work. I think it is because the progress bar is part of the main UI and you can't touch the UI from a backgroundworker control. I put a breakpoint on the BackgroundWorker1_ProgressChanged sub and it doesn't get called until all the docking windows have finished loading.
Anyone have any ideas of how to do this??