📄 frmstat.frm
字号:
VERSION 5.00
Object = "{C1A8AF28-1257-101B-8FB0-0020AF039CA3}#1.1#0"; "MCI32.OCX"
Begin VB.Form frmstat
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
ClientHeight = 2745
ClientLeft = 8295
ClientTop = 2220
ClientWidth = 1890
ControlBox = 0 'False
ForeColor = &H00000000&
Icon = "frmstat.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2745
ScaleWidth = 1890
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1
Left = 1560
Top = 360
End
Begin MCI.MMControl MMControl1
Height = 330
Left = 2280
TabIndex = 12
Top = 1080
Width = 1200
_ExtentX = 2117
_ExtentY = 582
_Version = 393216
PlayEnabled = -1 'True
PauseEnabled = -1 'True
StopEnabled = -1 'True
PrevVisible = 0 'False
NextVisible = 0 'False
BackVisible = 0 'False
StepVisible = 0 'False
RecordVisible = 0 'False
EjectVisible = 0 'False
DeviceType = "Sequencer"
FileName = ""
End
Begin VB.Label lblalli
BackStyle = 0 'Transparent
Caption = "Neutral"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 120
TabIndex = 16
Top = 2400
Width = 1215
End
Begin VB.Label lblrespect
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 225
Left = 1080
TabIndex = 15
Top = 1680
Width = 855
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Respect:"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 330
Left = 120
TabIndex = 14
Top = 1680
Width = 855
End
Begin VB.Label lbleq
BackStyle = 0 'Transparent
Caption = "Press Enter for Save Screen"
BeginProperty Font
Name = "Comic Sans MS"
Size = 6.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 0
TabIndex = 13
Top = 2040
Width = 1935
End
Begin VB.Label lblmp
BackStyle = 0 'Transparent
Caption = "10"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 225
Left = 1080
TabIndex = 11
Top = 1200
Width = 855
End
Begin VB.Label lblm
BackStyle = 0 'Transparent
Caption = "Mp:"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 285
Left = 120
TabIndex = 10
Top = 1200
Width = 750
End
Begin VB.Label lblmoney
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 225
Left = 1080
TabIndex = 9
Top = 1440
Width = 855
End
Begin VB.Label lblmon
BackStyle = 0 'Transparent
Caption = "Money:"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 330
Left = 120
TabIndex = 8
Top = 1440
Width = 750
End
Begin VB.Label lblnamh
BackStyle = 0 'Transparent
Caption = "Hero"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 375
Left = 105
TabIndex = 7
Top = 0
Width = 1695
End
Begin VB.Label lblexit
BackStyle = 0 'Transparent
Caption = "Exit"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 330
Left = 1320
TabIndex = 6
Top = 2400
Width = 435
End
Begin VB.Label lblde
BackStyle = 0 'Transparent
Caption = "Shield:"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 330
Left = 105
TabIndex = 5
Top = 960
Width = 750
End
Begin VB.Label lbldefen
BackStyle = 0 'Transparent
Caption = "10"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 225
Left = 1080
TabIndex = 4
Top = 960
Width = 855
End
Begin VB.Label lblpower
BackStyle = 0 'Transparent
Caption = "10"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 225
Left = 1080
TabIndex = 3
Top = 720
Width = 855
End
Begin VB.Label lbllife
BackStyle = 0 'Transparent
Caption = "100"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 225
Left = 1080
TabIndex = 2
Top = 480
Width = 960
End
Begin VB.Label lblli
BackStyle = 0 'Transparent
Caption = "Hp:"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 330
Left = 105
TabIndex = 1
Top = 480
Width = 540
End
Begin VB.Label lblpow
BackStyle = 0 'Transparent
Caption = "Power:"
BeginProperty Font
Name = "Comic Sans MS"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 330
Left = 105
TabIndex = 0
Top = 720
Width = 645
End
End
Attribute VB_Name = "frmstat"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Activate()
lblmoney = money
lbldefen = defense
lbllife = life
lblpower = power
lblmp = mp
lblrespect = respect
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblexit.ForeColor = vbGreen
End Sub
Private Sub lblexit_Click()
End
End Sub
Private Sub lblexit_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblexit.ForeColor = vbRed
End Sub
Private Sub MMControl1_Done(NotifyCode As Integer)
MMControl1.Command = "close"
frmstat.MMControl1.FileName = (App.Path & "\frog.mid")
frmstat.MMControl1.Command = "Open"
frmstat.MMControl1.Command = "Play"
Timer1.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -