使最小化窗体的窗体在还原时执行messagebox.show("已还原")
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize
Static isFirstLoad = True
If isFirstLoad = False And WindowState = FormWindowState.Normal Then
MsgBox("ok")
End If
isFirstLoad = False
End Sub
Static isFirstLoad = True
If isFirstLoad = False And WindowState = FormWindowState.Normal Then
MsgBox("ok")
End If
isFirstLoad = False
End Sub