https://learn.microsoft.com/es-es/dotnet/api/system.windows.forms.control.dockchanged?view=netframework-4.8.1&redirectedfrom=MSDN
Control.DockChanged Event (System.Windows.Forms) | Microsoft Learn
Occurs when the value of the Dock property changes.
event systemwindows formscontrolmicrosoftlearn