Method DoInsideLayout
DoInsideLayout(Action, bool)
Executes action between calls to SuspendLayout()
and ResumeLayout(bool, bool).
void DoInsideLayout(Action action, bool layoutParent = true)
Parameters
actionActionAction that will be executed.
layoutParentboolSpecifies whether to call parent's PerformLayout(bool). Optional. By default is
true.