-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form1.frm
60 lines (43 loc) · 1.04 KB
/
Form1.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '´°¿Úȱʡ
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 615
Left = 1200
TabIndex = 0
Top = 720
Width = 1095
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Const D1 = 264
Const R2 = 297
Const M3 = 330
Const F4 = 352
Const S5 = 396
Const L6 = 440
Const T7 = 495
Const D8 = 528
Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
Private Sub Command1_Click()
Beep R2, 1000
Beep F4, 700
Beep L6, 600
Beep M5, 1700
Beep F4, 800
Beep S3, 1000
Beep R2, 600
End Sub