How to capture Minimized event of a form?

  • Thread starter Thread starter Lei Jiang
  • Start date Start date
There is no event specific to this; use the Resize event of the form and
check the WindowState.
 
* "Lei Jiang said:
It seems no such event for a form?

\\\
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize
If Me.WindowState = FormWindowState.Maximized Then
...
End If
End Sub
///
 
Back
Top