Well, if you have many controls, it could work slowly indeed. At least the fact the resize works in principle says that you don't have infinite recursion due to an attempt to change form's size in response to resize, which is already good. :-)
But from the design standpoint, this is (usually) a wrong approach. Normally, you should not handle
Resize
at all or do very little in response to this event. Instead, you should develop layout which adjusts itself the the form size. The idea is to get rid of any absolute positioning and setting all or most of the
Size
properties. Instead, you should use a hierarchy of nested panels and the combinations of the properties
Dock
and
Padding
.
Please see my past answer with recommendations of the topic:
Zom Out malfunctions when Screen resolution changes[
^].
Here you will find a rudimentary code sample:
how to dock button so that it can adjust with the form[
^].
(Sorry it is C#, but I believe you can easily understand it, because I feel you have enough qualification, please see below.)
See also:
GUI Apperance - C#.Net[