2。 SuispandLayout 不行
The SuspendLayout and ResumeLayout methods are used in tandem to suppress
multiple events while you adjust multiple attributes of the control. For
example, you would typically call the SuspendLayout method, then set the
, , , or properties of the control, and then call the ResumeLayout method
to allow the changes to take effect.
它并不能解决repaint 的问题。