S
schoenfeld1
I've developed an application in .net 2, and to support multi-size
client windows, I used the winforms layout managers
(flowlayout/tablelayout). They are extremely slow - it looks like the
paint method is called multiple times on these containers, and i can
see scroll bars appear in the middle of the screen and move out until
they find the edge. This is on an AMD Athlon 64bit machine.. It's
slower than swing! I'm positive that something can be done, any ideas?
I've tried the SuspendLayout/ResumeLayout but they don't seem to do
anything.
It looks like the control gets painted, the layout manager is called to
do logic, then gets painted again, then layout manager again (puts
scroll bars), etc..
Is there a way to just get all the layout managers to do their logic
and then do a paint of the entire complex control in one call (complex
control = a user control composed of other complex controls, etc).
client windows, I used the winforms layout managers
(flowlayout/tablelayout). They are extremely slow - it looks like the
paint method is called multiple times on these containers, and i can
see scroll bars appear in the middle of the screen and move out until
they find the edge. This is on an AMD Athlon 64bit machine.. It's
slower than swing! I'm positive that something can be done, any ideas?
I've tried the SuspendLayout/ResumeLayout but they don't seem to do
anything.
It looks like the control gets painted, the layout manager is called to
do logic, then gets painted again, then layout manager again (puts
scroll bars), etc..
Is there a way to just get all the layout managers to do their logic
and then do a paint of the entire complex control in one call (complex
control = a user control composed of other complex controls, etc).