[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

.NET winform repainting issure

rsimlote

4/22/2008 6:27:00 PM

I have a winform application, and forms with several nested controls
incl. tab controls, tablelayoutpanel, groupboxes and the controls. I
also have some usercontrols that I am adding dynamically. All together
I have more than 300 controls on the application. The problem is that
when I scroll, the form is repainted and my controls disapper for 2
seconds, Many times I see the drag effect as well. I does get annoying
to see the controls disappearing from the screen and reappering.
I have used the SuspendLayout and ResumeLayout when adding the
controls dynamically. I also set the Form.DoubleBuffered property to
true, but it didn't help much.
Please help me with the solution. Thank you.