Private Sub mnuClose_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuClose.Click Dim msg As Integer msg = (MessageBox.Show("Are You Sure, want to Exit...?", "Close...?", MessageBoxButtons.YesNo, MessageBoxIcon.Question)) If msg = 6 Then End End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)