Link to home
Start Free TrialLog in
Avatar of Dmitriy Galankin
Dmitriy Galankin

asked on

Why DataGridView is shaking, when it does not fit on the form?

Why DataGridView is shaking, when it does not fit on the form?
For more information see video.
How it resolve?

dgv_shaking.avi
Avatar of Misha
Misha
Flag of Russian Federation image

Where is this video? Can you place your code here? (Где видео? Код?)
Where is the video?
Avatar of Dmitriy Galankin
Dmitriy Galankin

ASKER

Sorry,... video is here
This problem is having way too many controls on the form, making the painting too slow. So just fake it, create a borderless window that displays a bitmap of the form and shake that one. Create the bitmap with the form's DrawToBitmap() method.
ASKER CERTIFIED SOLUTION
Avatar of Dmitriy Galankin
Dmitriy Galankin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Author salved his own issue.