Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
If MsgBox("确认关闭?", vbYesNo, "提示") = vbNo Then
e.Cancel = True
Else
Me.Dispose()
End If
End Sub
posted on
2012-05-08 09:43kingang
阅读(1454)
评论(0)
编辑收藏举报