📄 form1.frm
字号:
VERSION 5.00
Object = "{C1A8AF28-1257-101B-8FB0-0020AF039CA3}#1.1#0"; "MCI32.OCX"
Begin VB.Form Form1
BorderStyle = 0 'None
Caption = "MULTIMEDIA MCI 多媒体应用"
ClientHeight = 9000
ClientLeft = 165
ClientTop = 555
ClientWidth = 12000
Icon = "Form1.frx":0000
LinkTopic = "Form1"
Picture = "Form1.frx":E77A
ScaleHeight = 9000
ScaleWidth = 12000
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VB.CommandButton Command1
Caption = "退出系统"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 480
TabIndex = 11
Top = 6600
Width = 2415
End
Begin VB.Timer Timer3
Left = 240
Top = 1680
End
Begin MCI.MMControl MMControl2
Height = 495
Left = 4800
TabIndex = 5
Top = 240
Visible = 0 'False
Width = 4575
_ExtentX = 8070
_ExtentY = 873
_Version = 393216
DeviceType = ""
FileName = ""
End
Begin VB.TextBox total_num
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1920
TabIndex = 4
Text = "150"
Top = 5880
Width = 855
End
Begin VB.Timer Timer2
Left = 240
Top = 1320
End
Begin VB.Timer Timer1
Left = 240
Top = 960
End
Begin MCI.MMControl MMControl1
Height = 510
Left = 480
TabIndex = 0
Top = 240
Visible = 0 'False
Width = 3540
_ExtentX = 6244
_ExtentY = 900
_Version = 393216
PlayEnabled = -1 'True
DeviceType = ""
FileName = ""
End
Begin VB.Label Label11
BackStyle = 0 'Transparent
Caption = "一等奖"
BeginProperty Font
Name = "宋体"
Size = 48
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 1215
Left = 3960
TabIndex = 15
Top = 6360
Width = 3255
End
Begin VB.Label Label7
BackColor = &H80000002&
Caption = "抽奖人数"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 375
Left = 240
TabIndex = 10
Top = 5880
Width = 1335
End
Begin VB.Label Label5
BackColor = &H000000FF&
Caption = "炫舞流缘 See You Tonight!"
BeginProperty Font
Name = "隶书"
Size = 35.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 735
Left = 0
TabIndex = 8
Top = 8160
Width = 10335
End
Begin VB.Label Label6
BackColor = &H000000FF&
BeginProperty Font
Name = "隶书"
Size = 48.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 0
TabIndex = 9
Top = 8160
Width = 12015
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
BeginProperty Font
Name = "隶书"
Size = 30
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 735
Left = 2760
TabIndex = 6
Top = 4920
Width = 6015
End
Begin VB.Label num
BackColor = &H000000FF&
Caption = "SIA"
BeginProperty Font
Name = "MS UI Gothic"
Size = 84.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 1455
Left = 3960
TabIndex = 3
Top = 2760
Width = 3015
End
Begin VB.Label Label2
BackColor = &H80000003&
BackStyle = 0 'Transparent
Caption = "沈阳自动化研究所元旦联欢晚会"
BeginProperty Font
Name = "华文行楷"
Size = 36
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000014&
Height = 975
Left = 840
TabIndex = 2
Top = 960
Width = 11175
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "幸运大抽奖"
BeginProperty Font
Name = "黑体"
Size = 39.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 855
Left = 3360
TabIndex = 1
Top = 1680
Width = 4215
End
Begin VB.Label Label10
BackStyle = 0 'Transparent
Caption = "Label10"
BeginProperty Font
Name = "宋体"
Size = 26.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 735
Left = 3480
TabIndex = 14
Top = 7200
Width = 5895
End
Begin VB.Label Label9
BackStyle = 0 'Transparent
Caption = "Label9"
BeginProperty Font
Name = "宋体"
Size = 26.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 735
Left = 3480
TabIndex = 13
Top = 6600
Width = 5415
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "Label8"
BeginProperty Font
Name = "宋体"
Size = 26.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 735
Left = 3480
TabIndex = 12
Top = 6000
Width = 5415
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
BeginProperty Font
Name = "隶书"
Size = 99.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 1815
Left = 3960
TabIndex = 7
Top = 5640
Width = 3375
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public i, j, m, n, flag, flag2, number, flag_button, num_prize, num_times, number_back
Dim a(30) As Integer
Dim sj1
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_DblClick()
Form1.WindowState = 1
num_times = num_times + 1
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If i = 1 And m = 1 And KeyCode = 32 Then
n = 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -