Delete warning with bindingnavigator

When i press the delete button it comes up with prompt do i want to delete but if i click no it deletes anyway here is my code
vb.net Code:
  1. Private Sub BindingNavigatorDeleteItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorDeleteItem.Click
  2.  
  3. ''Delete current record after confirming.
  4. 'Dim deleteDialogResult As DialogResult
  5. 'Dim test As New System.ComponentModel.CancelEventArgs
  6. 'With Me
  7.  
  8. ' If .BindingNavigatorDeleteItem.Text = "&Delete" Then
  9. ' deleteDialogResult = MessageBox.Show("Delete this record?", "Confirm Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
  10. ' If deleteDialogResult = Windows.Forms.DialogResult.No Then
  11. '
  12. ' MessageBox.Show("No Deletion Screen will close", "No Deletion", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
  13. ' 'Me.Close()
  14. ' e.EventsArgs.RejectChanges()
  15.  
  16. ' End If
  17. ' End If
  18. 'End With
  19. end sub