ElliottE4

Untitled

Apr 7th, 2024
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.28 KB | None | 0 0
  1. Public Class Help
  2.     Private Sub pbx_ExitButton_Click(sender As Object, e As EventArgs) Handles pbx_ExitButton.Click
  3.  
  4.         If MsgBox("Are you sure you want to close the help form?", vbYesNo) = MsgBoxResult.Yes Then
  5.  
  6.             Me.Close()
  7.  
  8.         End If
  9.  
  10.     End Sub
  11. End Class
Add Comment
Please, Sign In to add comment