📄 ddrm.frm
字号:
VERSION 5.00
Begin VB.Form DDRm
BackColor = &H00FFFFFF&
BorderStyle = 4 'Fixed ToolWindow
Caption = "DDR"
ClientHeight = 8160
ClientLeft = 2535
ClientTop = 1590
ClientWidth = 11790
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 8160
ScaleWidth = 11790
ShowInTaskbar = 0 'False
Begin VB.PictureBox Picture1
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 1200
Left = 1560
Picture = "DDRm.frx":0000
ScaleHeight = 1200
ScaleWidth = 3000
TabIndex = 5
Top = 3720
Width = 3000
End
Begin VB.PictureBox e1
Height = 615
Left = 5160
Picture = "DDRm.frx":BBC2
ScaleHeight = 37
ScaleMode = 3 'Pixel
ScaleWidth = 37
TabIndex = 1
Top = 7440
Visible = 0 'False
Width = 615
End
Begin VB.PictureBox p1
Height = 8055
Left = 1080
Picture = "DDRm.frx":BECC
ScaleHeight = 533
ScaleMode = 3 'Pixel
ScaleWidth = 261
TabIndex = 0
Top = 0
Width = 3975
End
Begin VB.Label Label12
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Caption = $"DDRm.frx":C8A2
Height = 3015
Left = 5160
TabIndex = 24
Top = 3240
Width = 6615
End
Begin VB.Label Label6
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "慢速"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 0
TabIndex = 17
Top = 1680
Width = 975
End
Begin VB.Label Label5
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "中等"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 0
TabIndex = 16
Top = 1320
Width = 975
End
Begin VB.Label Label4
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "快速"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 0
TabIndex = 15
Top = 960
Width = 975
End
Begin VB.Label Label3
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "最快速"
BeginProperty Font
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 0
TabIndex = 14
Top = 600
Width = 975
End
Begin VB.Label Label2
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "LEVEL"
BeginProperty Font
Name = "@MingLiU"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 0
TabIndex = 13
Top = 120
Width = 975
End
Begin VB.Label rightc
BackStyle = 0 'Transparent
Height = 735
Left = 5280
TabIndex = 6
Top = 1080
Width = 3015
End
Begin VB.Label wrongc
BackStyle = 0 'Transparent
Height = 375
Left = 5280
TabIndex = 12
Top = 1800
Width = 3375
End
Begin VB.Label kds
Alignment = 2 'Center
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Height = 375
Left = 5280
TabIndex = 11
Top = 2160
Visible = 0 'False
Width = 3135
End
Begin VB.Label k4
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Height = 615
Left = 7800
TabIndex = 10
Top = 2520
Visible = 0 'False
Width = 615
End
Begin VB.Label k3
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Height = 615
Left = 6960
TabIndex = 9
Top = 2520
Visible = 0 'False
Width = 615
End
Begin VB.Label k2
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Height = 615
Left = 6120
TabIndex = 8
Top = 2520
Visible = 0 'False
Width = 615
End
Begin VB.Label k1
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Height = 615
Left = 5280
TabIndex = 7
Top = 2520
Visible = 0 'False
Width = 615
End
Begin VB.Label mes
BackStyle = 0 'Transparent
Height = 375
Left = 5280
TabIndex = 4
Top = 600
Width = 3375
End
Begin VB.Label countl
BackStyle = 0 'Transparent
Height = 255
Left = 5280
TabIndex = 3
Top = 240
Width = 3375
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "DC"
Height = 255
Left = 5880
TabIndex = 2
Top = 0
Width = 1335
End
Begin VB.Label Label10
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "慢速"
BeginProperty Font
Name = "@MingLiU"
Size = 11.25
Charset = 136
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C0C0C0&
Height = 375
Left = 120
TabIndex = 21
Top = 1730
Width = 975
End
Begin VB.Label Label9
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "中等"
BeginProperty Font
Name = "@MingLiU"
Size = 11.25
Charset = 136
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C0C0C0&
Height = 375
Left = 90
TabIndex = 20
Top = 1370
Width = 975
End
Begin VB.Label Label8
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "快速"
BeginProperty Font
Name = "@MingLiU"
Size = 11.25
Charset = 136
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C0C0C0&
Height = 375
Left = 90
TabIndex = 19
Top = 1010
Width = 975
End
Begin VB.Label Label7
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "最快速"
BeginProperty Font
Name = "@MingLiU"
Size = 11.25
Charset = 136
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C0C0C0&
Height = 375
Left = 90
TabIndex = 18
Top = 650
Width = 975
End
Begin VB.Label Label11
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "LEVEL"
BeginProperty Font
Name = "@MingLiU"
Size = 12
Charset = 136
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C0C0C0&
Height = 255
Left = 120
TabIndex = 22
Top = 190
Width = 975
End
Begin VB.Label di
BackColor = &H00C0FFC0&
Height = 255
Left = 0
TabIndex = 23
Top = 1320
Width = 1095
End
End
Attribute VB_Name = "DDRm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
p1.PaintPicture e1.Picture, 1000, 8400
For i = 8400 To 0 Step -50
p1.PaintPicture e1.Picture, 0, i
p1.PaintPicture e1.Picture, 1000, i
p1.PaintPicture e1.Picture, 2000, i
p1.PaintPicture e1.Picture, 3000, i
'm1.Visible = False
'm1.Move 0, i
'm1.Visible = True
DoEvents
Call wai(0.4)
p1.Refresh
Next i
End Sub
Private Sub Command2_Click()
p1.Move 100, 1100
End Sub
Private Sub Command3_Click()
End Sub
Private Sub Command3_KeyPress(KeyAscii As Integer)
DDRm.Print KeyAscii
End Sub
Private Sub DCshow_Click()
End Sub
Private Sub Form_Load()
'DCshow.Picture = LoadPicture("")
PCN = 0
DatLen = 0
Open App.Path + "\in.dat" For Input As #1
Input #1, SPEED_SET
While Not EOF(1)
Input #1, Dats(DatLen, 0), aop
If aop = "x" Then
Dats(DatLen, 1) = Dats(DatLen - 1, 1) + 37
Else
Dats(DatLen, 1) = Val(aop)
End If
DatLen = DatLen + 1
Wend
Close #1
DatLen = DatLen - 1
NRUN = -1
GAME_SPEED = 0.05
End Sub
Private Sub Label3_Click()
GAME_SPEED = 0.01
di.Top = Label3.Top
End Sub
Private Sub Label4_Click()
GAME_SPEED = 0.03
di.Top = Label4.Top
End Sub
Private Sub Label5_Click()
GAME_SPEED = 0.05
di.Top = Label5.Top
End Sub
Private Sub Label6_Click()
GAME_SPEED = 0.08
di.Top = Label6.Top
End Sub
Private Sub p1_KeyDown(KeyCode As Integer, Shift As Integer)
If MultiKey > 0 Then
Select Case KeyCode
Case Is = 37
keyd1 = 1
Case Is = 38
keyd2 = 1
Case Is = 40
keyd3 = 1
Case Is = 39
keyd4 = 1
End Select
MultiKey = MultiKey - 1
KeyDelayTime = 4
'DDRm.keyshow.Caption = KeyCode
End If
k1.Caption = keyd1
k2.Caption = keyd2
k3.Caption = keyd3
k4.Caption = keyd4
'37w 38n 39e 40s
End Sub
Private Sub p1_LostFocus()
If Picture1.Visible = False Then
p1.SetFocus
End If
End Sub
Private Sub Picture1_Click()
Picture1.Visible = False
p1.SetFocus
ShowDC
End Sub
Private Sub Picture1_KeyPress(KeyAscii As Integer)
'DDRm.Print KeyAscii
End Sub
Private Sub Picture2_KeyUp(KeyCode As Integer, Shift As Integer)
k1.Caption = keyd1
k2.Caption = keyd2
k3.Caption = keyd3
k4.Caption = keyd4
'KeyDelayTime = 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -