Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
Maximize a form event
posted

I am trying to track the event when the form is maximized. which event it is ?

The second problem is my slpitcontainer when you maximize it does not resize it only remains in its initial position. how do you make it become interactive ?

Parents
No Data
Reply
  • 12480
    Offline posted

    Hi Bouzid,

    You can use the Form's SizeChanged event and the WindowState property to determine when the form is maximized.

    By default, controls on a form do not resize with the form. You can use the Anchor or Dock properties to have this happen automatically. If you need to perform custom sizing that won't be handled by these properties, you can do that in the form's SizeChanged handler.

    Please let me know if there is anything further that I can do to help.

Children