📄 sz.frm
字号:
VERSION 5.00
Object = "{C1A8AF28-1257-101B-8FB0-0020AF039CA3}#1.1#0"; "MCI32.OCX"
Begin VB.Form sz
Caption = "游戏设置"
ClientHeight = 3705
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
Icon = "sz.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3705
ScaleWidth = 4680
StartUpPosition = 2 '屏幕中心
Begin MCI.MMControl MMControl1
Height = 330
Left = 840
TabIndex = 15
Top = 3000
Visible = 0 'False
Width = 3540
_ExtentX = 6244
_ExtentY = 582
_Version = 393216
DeviceType = ""
FileName = ""
End
Begin VB.TextBox Text1
Height = 375
Left = 1440
TabIndex = 1
Top = 120
Width = 1575
End
Begin VB.CommandButton cmdsearch
Caption = "查看成绩"
Height = 375
Left = 3360
TabIndex = 11
Top = 3240
Width = 975
End
Begin VB.CommandButton cmdexit
Caption = "退出"
Height = 375
Left = 1800
TabIndex = 10
Top = 3240
Width = 975
End
Begin VB.CommandButton cmdok
Caption = "设定完成"
Default = -1 'True
Height = 375
Left = 360
TabIndex = 9
Top = 3240
Width = 975
End
Begin VB.Frame Frame2
Caption = "难度"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2055
Left = 2760
TabIndex = 5
Top = 600
Width = 1815
Begin VB.OptionButton nOption3
Caption = "所有混合"
Height = 375
Left = 360
TabIndex = 8
Top = 1200
Width = 1095
End
Begin VB.OptionButton nOption2
Caption = "大写字母"
Height = 255
Left = 360
TabIndex = 7
Top = 840
Width = 1215
End
Begin VB.OptionButton nOption1
Caption = "小写字母"
Height = 255
Left = 360
TabIndex = 6
Top = 360
Value = -1 'True
Width = 1095
End
End
Begin VB.Frame Frame1
Caption = "速度"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2055
Left = 120
TabIndex = 0
Top = 600
Width = 1815
Begin VB.OptionButton soption3
Caption = "高速"
Height = 255
Left = 480
TabIndex = 4
Top = 1320
Width = 1095
End
Begin VB.OptionButton soption2
Caption = "中速"
Height = 255
Left = 480
TabIndex = 3
Top = 840
Width = 1095
End
Begin VB.OptionButton sOption1
Caption = "低速"
Height = 255
Left = 480
TabIndex = 2
Top = 360
Value = -1 'True
Width = 1095
End
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "http://yuwind.yeah.net"
ForeColor = &H00FFFF00&
Height = 180
Left = 1320
MouseIcon = "sz.frx":0442
MousePointer = 99 'Custom
TabIndex = 14
ToolTipText = "到我的网站去看看"
Top = 2760
Width = 1980
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Label2"
ForeColor = &H000000FF&
Height = 180
Left = 3120
TabIndex = 13
Top = 0
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "您的姓名:"
Height = 180
Left = 480
TabIndex = 12
Top = 240
Width = 900
End
End
Attribute VB_Name = "sz"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdexit_Click()
End
End Sub
Private Sub cmdok_Click()
Dim sql As String
Dim mm As String
Dim tt As String
mm = Trim(Text1.Text)
tt = Label2.Caption
If Text1.Text = "" Then
MsgBox "请输入您的姓名"
Text1.SetFocus
Else
Call topdata(conn)
sql = "insert into games values ('" & mm & "','0','" & tt & "')"
conn.Execute sql
games.Show
Me.Visible = False
End If
End Sub
Private Sub cmdsearch_Click()
fen.Show
Unload Me
End Sub
Private Sub Form_Load()
'Dim S As String * 80, Length As Long
'Dim WinPath As String, SysPath As String
'Length = GetWindowsDirectory(S, 255)
'MsgBox S
'WinPath = Left(S, Length)
'Length = GetSystemDirectory(S, Len(S))
'SysPath = Left(S, Length)
'Dim strpath As String
'strpath = App.Path
'If Right(strpath, 1) <> "/" Then
'strpath = strpath & "/"
'End If
'strpath = strpath & "/"
'If Dir(SysPath & "/mci32.ocx", vbNormal) = "" Then
'FileCopy strpath & "mci32.ocx", SysPath & "/mci32.ocx"
'End If
'If Dir(SysPath & "/Mshflxgd.ocx", vbNormal) = "" Then
'FileCopy strpath & "mshlxgd.ocx", SysPath & "/mshlxgd.ocx"
'End If
'If Dir(SysPath & "/Msvbvm60.dll", vbNormal) = "" Then
'FileCopy strpath & "msvbvm60.dll", SysPath & "/msvbvm60.dll"
'End If
Label2.Caption = Now()
End Sub
Private Sub Label3_Click()
ShellExecute 0, "open", "http://yuwind.yeah.net", vbNullString, vbNullString, SW_MAXIMIZE
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -