If MsgBox("確定訊息", MsgBoxStyle.OkCancel, "視窗標題") <> MsgBoxResult.Ok Then
    '不執行
    Return
End If

If MessageBox.Show("內容", "標題", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) <> MsgBoxResult.Ok  Then
    '不執行
    Return
End If


arrow
arrow

    Roger 發表在 痞客邦 留言(0) 人氣()