Is there an event that is fired when you maximize a Form or un-maximize it?
Before you say Resize
or SizeChanged
: Those get only fired if the Size
actually changes. If your window happens to be equal in size to the maximized window, they do not fire. Location looks like the next best bet, but that again feels like gambling on a coincidence.