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
相关文章:
-
2022-12-23
-
2021-11-14
-
2021-07-15
-
2022-12-23
-
2021-12-06
-
2021-07-22
-
2021-10-09
-
2022-12-23