-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCUSTOMER.frm
25 lines (24 loc) · 810 Bytes
/
CUSTOMER.frm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
VERSION 5.00
Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} CUSTOMER
Caption = "UserForm1"
ClientHeight = 5868
ClientLeft = 36
ClientTop = 384
ClientWidth = 10728
OleObjectBlob = "CUSTOMER.frx":0000
StartUpPosition = 1 'CenterOwner
End
Attribute VB_Name = "CUSTOMER"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CommandButton8_Click()
Dim response As VbMsgBoxResult
'Displays a confirmation dialog before existing
response = MsgBox("Do you really want to quit the application ?", vbYesNo + vbQuestion, "Quit")
'If the user clicks "Yes", close the application
If response = vbYes Then
Application.Quit
End If
End Sub