How to check Maximize button click event of a Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How to check Maximize button click event of a Form or how to check whether present size of form is maximum available size
 
Hi Sachin,

Well, you could handle the SizeChanged event and check
if(WindowState == FormWindowState.Maximized)
{
// user or something maximized the window
}

Happy coding!
Morten Wennevik [C# MVP]
 
Back
Top