C # user control redraws slowly

I have a C # Forms program with a total of 200 controls. Some of them are in user controls that I added to the form. When I ran my program on my home machine, dual core AMD X64, 2.0Ghz with an ATI X1600 card, the program worked fine. This is quick and redrawing is not a problem.

When I put this program on my desktop, the Intel 2.4Ghz quad-core processor, 4 GB of RAM and the NVidia Gefore 8800GT, it slowed down when scanning when redrawing. Could this be a problem with the driver?

I have double buffering enabled for all my user controls and forms. There is no help.

I read this topic, but my situation is not the same: Super slow C # user control

+3
source share
2 answers

thing ".SuspendLayout ();" really doesn't stop drawing. I can’t remember the expression, but I believe that you can get it on Google. and try using .AddRange might help.

0
source

, 2D-, . , , , ( , , TabPage), . , , BackColor , , BackColor . GDI +, , , , .

0

Source: https://habr.com/ru/post/1765364/


All Articles