What is the difference between these two events? I can't think of any case where both wouldn't be called at the same time, and MSDN is less than enlightening.
Answer from Bob Powell [MVP] found on internet (discussion goes further) :
Internally, OnSizeChanged calls OnResize so they are pretty tightly linked.
The OnResize method is responsible for invalidating the control if the ResizeRedraw style is set.
AFAIK, the Resize
-Event is fired if the actual size of the form changes. The SizeChanged
-Event fires if the value of the Size
-Property is updated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With