devi gestire il resize del Form e controllare lo stato della finestra

If Me.WindowState = FormWindowState.Minimized Then
.....
End If