VB 退出窗体时提示是否真的退出代码

Private Sub cmdExit_Click() If MsgBox("Are you sure?", vbYesNo, "Exiting the application") = vbYes Then Unload Me End If End Sub
相关文章
相关标签/搜索