There is a form which dynamically lists number of boxes on runtime on a splitcontainer.. around 400 small boxes with numbers. Now the drawing of it is bit slow.. maybe 5-6 sec..
I want to speed it up. Someone suggest to tinker with SuspendLayout and ResumeLayout in the form1.designer.vb .. Can anyone suggest?? or any other way??
Re: [2005] Regarding SuspendLayout and ResumeLayout
Originally Posted by jmcilhinney
What exactly are you talking about when you say "boxes"? Please be plain and clear. Tell us exactly what you're doing and maybe even show us the code.
The boxes are actually one button overlapping the other in a small form. and they are redrawn again and again in a larger form..
The code might confuse as there are lots of pages needed to be posted here.. its not exactly my program so i cant do that.. I m just suppose to make it better..