In the Windows Forms documentation for Control.SuspendLayout(), there is the following statement:
There must be no pending calls to SuspendLayout for ResumeLayout to be successfully called.
There's a few loaded phrases in this statement (such as "pending calls").
- What scenario(s) does this statement correspond to?
- What cases do I need to guard against?
see: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.suspendlayout?view=net-5.0