📄 formwel.frm
字号:
VERSION 5.00
Begin VB.Form formwel
Caption = "欢迎进入本程式"
ClientHeight = 8460
ClientLeft = 60
ClientTop = 450
ClientWidth = 10710
LinkTopic = "Form1"
ScaleHeight = 8460
ScaleWidth = 10710
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdend
Caption = "退出"
Height = 615
Left = 7200
TabIndex = 21
Top = 7080
Width = 2055
End
Begin VB.Timer Timer
Enabled = 0 'False
Interval = 555
Left = 9360
Top = 6240
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 14
Left = 9840
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 20
Top = 3000
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 12
Left = 9840
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 19
Top = 2520
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 11
Left = 9480
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 18
Top = 2520
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 10
Left = 9840
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 17
Top = 2040
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 9
Left = 9480
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 16
Top = 2040
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 8
Left = 9840
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 15
Top = 1560
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 7
Left = 9480
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 14
Top = 1560
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 6
Left = 9840
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 13
Top = 1080
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 5
Left = 9480
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 12
Top = 1080
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 13
Left = 9480
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 11
Top = 3000
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 4
Left = 9840
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 10
Top = 600
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 3
Left = 9480
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 9
Top = 600
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 2
Left = 9840
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 8
Top = 120
Visible = 0 'False
Width = 255
End
Begin VB.PictureBox pcthd
AutoSize = -1 'True
Height = 255
Index = 1
Left = 9480
ScaleHeight = 195
ScaleWidth = 195
TabIndex = 7
Top = 120
Visible = 0 'False
Width = 255
End
Begin VB.CommandButton cmdjd
Caption = "点击这里看动画"
Height = 615
Left = 7200
TabIndex = 6
Top = 6120
Width = 2055
End
Begin VB.OptionButton optjz
Caption = "机长"
BeginProperty Font
Name = "隶书"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 3960
TabIndex = 5
Top = 6840
Width = 1695
End
Begin VB.OptionButton optzc
Caption = "注册成会员"
BeginProperty Font
Name = "隶书"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 1560
TabIndex = 4
Top = 6720
Width = 2055
End
Begin VB.OptionButton optyk
Caption = "游客起飞"
BeginProperty Font
Name = "隶书"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3960
TabIndex = 3
Top = 6000
Width = 1935
End
Begin VB.OptionButton opthy
Caption = "会员登机"
BeginProperty Font
Name = "隶书"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1560
TabIndex = 2
Top = 6000
Width = 1815
End
Begin VB.Label Label3
Caption = "注意:由于程序稍大,运行稍慢"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 2160
TabIndex = 22
Top = 7800
Width = 5535
End
Begin VB.Image Imgwel
Height = 4935
Left = 1320
Top = 840
Width = 7935
End
Begin VB.Label Label2
Caption = "欢迎乘坐本航班"
BeginProperty Font
Name = "楷体_GB2312"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008000&
Height = 735
Left = 2280
TabIndex = 1
Top = 0
Width = 5415
End
Begin VB.Label Label1
Caption = "乒球网上俱乐部"
BeginProperty Font
Name = "华文行楷"
Size = 48
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008080&
Height = 7455
Left = 0
TabIndex = 0
Top = 0
Width = 1215
End
End
Attribute VB_Name = "formwel"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim d As Integer: Dim bian As Integer
Private Sub cmdend_Click()
End
End Sub
Private Sub cmdjd_Click()
bian = 1
Timer.Enabled = True
End Sub
Private Sub Form_load()
opthy.Value = False
optjz.Value = False
optyk.Value = False
optzc.Value = False
pcthd(1).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq01.jpg") '''''''''''''''
pcthd(2).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq02.jpg") '''''''''''''''
pcthd(3).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq03.jpg") '''''''''''''''
pcthd(4).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq04.jpg") '''''''''''''''
pcthd(5).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq05.jpg") '''''''''''''''
pcthd(6).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq06.jpg") '''''''''''''''
pcthd(7).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq07.jpg") '''''''''''''''
pcthd(8).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq08.jpg") '''''''''''''''
pcthd(9).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq09.jpg") '''''''''''''''
pcthd(10).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq10.jpg") '''''''''''''''
pcthd(11).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq11.jpg") '''''''''''''''
pcthd(12).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq12.jpg") '''''''''''''''
pcthd(13).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq13.jpg") '''''''''''''''
pcthd(14).Picture = LoadPicture("C:\Documents and Settings\Administrator\My Documents\My Pictures\kq14.jpg") '''''''''''''''
End Sub
Private Sub opthy_Click()
l:
b = InputBox("请输入你的会员号", "输入信息")
Open "a:\hy.dat" For Random As #1 Len = Len(hy)
Open "a:\hm.dat" For Random As #2 Len = Len(hm)
Get #2, 1, hm
d = hm.o
Close #2
If IsNumeric(b) And d >= b Then
Get #1, b, hy
Formzc.txtmz.Text = hy.name
Formzc.txthh.Text = hy.no
Formzc.txtcn.Text = hy.year
Formzc.txtcy.Text = hy.month
Formzc.txtjg.Text = hy.jiguan
Formzc.optna.Value = hy.man
Formzc.optnv.Value = hy.woman
Formzc.txtdz.Text = hy.email
Formzc.cmblb.Text = hy.leibie
Formzc.txtyd.Text = hy.zuiy
Formzc.txtpp.Text = hy.zuip
Formzc.txtzs.Text = hy.pingj
'Formzc.pctxp.Picture = hy.pctx
Close #1
Formzc.Show
formwel.Hide
Else
MsgBox "此号码还没注册", , "信息"
GoTo l
End If
End Sub
Private Sub optjz_Click()
MsgBox "暂时没有设密码", vbOKOnly, "信息"
formwel.Hide
formjz.Show
End Sub
Private Sub optyk_Click()
formwel.Hide
formyk.Show
End Sub
Private Sub optzc_Click()
Formzc.cmdxg.Enabled = False
formwel.Hide
Formzc.Show
Formzc.txtcn = ""
Formzc.txtcy = ""
Formzc.txtdz = ""
Formzc.txthh = ""
Formzc.txtjg = ""
Formzc.txtmz = ""
Formzc.txtpp = ""
Formzc.txtqq = ""
Formzc.txtyd = ""
Formzc.txtzs = ""
Formzc.optna.Value = False
Formzc.optnv.Value = False
Formzc.cmblb.Text = "类别"
Formzc.HSlzs.Value = 0
End Sub
Private Sub Timer_Timer()
Imgwel.Picture = pcthd(bian)
bian = bian + 1
If bian = 15 Then Timer.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -