The Resized event fires once at the end of the resizing. So when the user maximizes a window, you get the following events:
So if you need to know if a Resized event happens only after Maximinize, but not after Minimize or Restore set a flag (a boolean property in the window) and inspect it in the Resized event.
Property mMaximizeFlag As Boolean
mMaximizeFlag = True
If mMaximizeFlag Then
mMaximizeFlag = False
// Maximizing has finished
// Minimizing or restoring has finished