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 ?
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.
Thank you, I have tried to dock and anchor at all the sides it still does not work. I have a dock manager is there anything in the dock manager you suggest I should change in order to allow the one of my two grids to maximize ?