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
during scrolling
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
Post a Comment