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

来源:互联网 发布:仿珍爱网交友源码 编辑:程序博客网 时间:2024/05/01 04:10
Private Sub cmdExit_Click()    If MsgBox("Are you sure?", vbYesNo, "Exiting the application") = vbYes Then        Unload Me    End IfEnd Sub

原创粉丝点击