c# - Lags during scrolling panel with user controls -


good day.

i working on custom control (really it's panel gadgets) contains number of controls. in case, there instances of myembeddedcontrol : usercontrol few panels, buttons, labels , methods. behaviour of controls not matter, point have locations within custom control. problem cpu load increases 99% , crazy lags during scrolling control:

normal state enter image description here

during scrolling enter image description here

i tried set doublebuffered true. there many user controls, showing area small. not understand why paint hard. may wrong , i'd better not use many controls inside custom control? best practices?


Comments

Popular posts from this blog

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

linear regression - Trying to get confidence/prediction intervals with `predict.lm` in R, but I keep getting an error regarding my dichotomous variable -