buy.frm
来自「VOD卡拉OK点歌系统源码」· FRM 代码 · 共 374 行
FRM
374 行
VERSION 5.00
Begin VB.Form buy
BorderStyle = 0 'None
Caption = "Form2"
ClientHeight = 4905
ClientLeft = 0
ClientTop = 0
ClientWidth = 4485
LinkTopic = "Form2"
Picture = "buy.frx":0000
ScaleHeight = 4905
ScaleWidth = 4485
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Label Label3
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
BeginProperty Font
Name = "楷体_GB2312"
Size = 42
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008000&
Height = 735
Left = 960
MouseIcon = "buy.frx":281C
MousePointer = 99 'Custom
TabIndex = 13
Top = 720
Width = 855
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "请输入要买的数量"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000C000&
Height = 495
Index = 10
Left = 0
MouseIcon = "buy.frx":2B26
MousePointer = 99 'Custom
TabIndex = 12
Top = 120
Width = 3135
End
Begin VB.Label Label2
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "取 消"
BeginProperty Font
Name = "楷体_GB2312"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400000&
Height = 495
Left = 3000
MouseIcon = "buy.frx":2E30
MousePointer = 99 'Custom
TabIndex = 11
Top = 3720
Width = 1215
End
Begin VB.Label Label1
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "确 定"
BeginProperty Font
Name = "楷体_GB2312"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400000&
Height = 495
Left = 3000
MouseIcon = "buy.frx":313A
MousePointer = 99 'Custom
TabIndex = 10
Top = 2880
Width = 1215
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "9"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 9
Left = 360
MouseIcon = "buy.frx":3444
MousePointer = 99 'Custom
TabIndex = 9
Top = 3600
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "8"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 8
Left = 1320
MouseIcon = "buy.frx":374E
MousePointer = 99 'Custom
TabIndex = 8
Top = 3600
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "7"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 7
Left = 2280
MouseIcon = "buy.frx":3A58
MousePointer = 99 'Custom
TabIndex = 7
Top = 3600
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "6"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 6
Left = 360
MouseIcon = "buy.frx":3D62
MousePointer = 99 'Custom
TabIndex = 6
Top = 2760
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "5"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 5
Left = 1320
MouseIcon = "buy.frx":406C
MousePointer = 99 'Custom
TabIndex = 5
Top = 2760
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "4"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 4
Left = 2280
MouseIcon = "buy.frx":4376
MousePointer = 99 'Custom
TabIndex = 4
Top = 2760
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "3"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 3
Left = 360
MouseIcon = "buy.frx":4680
MousePointer = 99 'Custom
TabIndex = 3
Top = 1800
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "2"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 2
Left = 1320
MouseIcon = "buy.frx":498A
MousePointer = 99 'Custom
TabIndex = 2
Top = 1800
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "1"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 1
Left = 2280
MouseIcon = "buy.frx":4C94
MousePointer = 99 'Custom
TabIndex = 1
Top = 1800
Width = 375
End
Begin VB.Label Label19
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000080&
Height = 735
Index = 0
Left = 3240
MouseIcon = "buy.frx":4F9E
MousePointer = 99 'Custom
TabIndex = 0
Top = 1800
Width = 375
End
End
Attribute VB_Name = "buy"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public how As Integer
Private Sub Form_Load()
how = 0
Label3.Caption = ""
End Sub
Private Sub Label1_Click()
how = CInt(Label13.Caption)
End Sub
Private Sub Label19_Click(Index As Integer)
If Label3.Caption = "0" Then
Label3.Caption = ""
End If
If CInt(Label13.Caption) < 30 Then
Label3.Caption = Label3.Caption & Index
End If
End Sub
Private Sub Label2_Click()
Unload buy
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?