MattNorman
Well-known member
- Joined
- May 22, 2021
- Messages
- 98
- Programming Experience
- 1-3
I am trying to get my form loading process to look a bit smoother however all of the options I have tried are failing.
Currently I see the panel render first and then all of the controls within the panel render afterwards.
There's not a huge delay however I want to try get all of the controls to draw at the same time.
I have tried looping through all controls and setting the double buffered property.
I have also tried using SuspendLayout and ResumeLayout on all controls.
On some forms I have also offloaded any loading tasks to a background thread so that it doesn't hold up the UI thread.
These are the only suggestions I have found and none seem to work. I suspect that if I got rid of the panels and just made the form the parent the issue would likely go away however I would prefer to keep the panels.
Does anyone have any suggestions that may help?
Currently I see the panel render first and then all of the controls within the panel render afterwards.
There's not a huge delay however I want to try get all of the controls to draw at the same time.
I have tried looping through all controls and setting the double buffered property.
I have also tried using SuspendLayout and ResumeLayout on all controls.
On some forms I have also offloaded any loading tasks to a background thread so that it doesn't hold up the UI thread.
These are the only suggestions I have found and none seem to work. I suspect that if I got rid of the panels and just made the form the parent the issue would likely go away however I would prefer to keep the panels.
Does anyone have any suggestions that may help?