I have many projects. Some started with VB6 long ago. Many revisions later they are now Net5.
Some started life as a Form and are now Usercotrol.
They all contain: Me.SuspendLayout() and Me.ResumeLayout(False)
Some have: Me.PerformLayout() following the Me.ResumeLayout(False)
Some do not.
I wonder if they all are as they should be so I read about them and
scanned the Interment and got many hits but no precise answer to my need.
So I created a new solution and notice that the form has Me.PerformLayout() but the UserControls does not.
I don't feel that simple examples may miss something and is not enough to modify all my code.
I'd appreciate conformation or denial :
Should forms have Me.PerformLayout() but not UserControls (or at least typically do not).
Thanks in advance!
Some started life as a Form and are now Usercotrol.
They all contain: Me.SuspendLayout() and Me.ResumeLayout(False)
Some have: Me.PerformLayout() following the Me.ResumeLayout(False)
Some do not.
I wonder if they all are as they should be so I read about them and
scanned the Interment and got many hits but no precise answer to my need.
So I created a new solution and notice that the form has Me.PerformLayout() but the UserControls does not.
I don't feel that simple examples may miss something and is not enough to modify all my code.
I'd appreciate conformation or denial :
Should forms have Me.PerformLayout() but not UserControls (or at least typically do not).
Thanks in advance!