I made a windows form with many dropdown list which are placed inside a grid(not a datagrid) and when I use anchor=left right top bottom and dock=fill options in all of them
It's a normal that it consumes your processor as on every resize move form
forms resize table layout panel
which forces resize and reposition child controls (dropdowns), as there is anchor
property setuped.
There is a trick to avoid to create a frustration for user when resizing:
Use SuspendLayout()
and ResumeLayout()
on BeginResize()
and EndResize()
event handlers.
Look here for concrete example:
Prevent window redraw when resizing c# windows forms
Should work for you.