I have a progress bar on a Windows Form which displays the number of records as they are retrieved from the database.
The problem I'm having is that the entire Form.Load() method seems to run prior to the form being displayed, which means all my code updating the progress bar is gone to waste.
I presume this is something to do with threading?
Any ideas would be greatly appreciated.
Thanks.
The problem I'm having is that the entire Form.Load() method seems to run prior to the form being displayed, which means all my code updating the progress bar is gone to waste.
I presume this is something to do with threading?
Any ideas would be greatly appreciated.
Thanks.