www.pudn.com > Winmine.rar > Form3.frm
VERSION 5.00
Begin VB.Form Form3
BorderStyle = 3 'Fixed Dialog
Caption = "扫雷英雄榜"
ClientHeight = 2070
ClientLeft = 45
ClientTop = 330
ClientWidth = 4815
LinkTopic = "Form3"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2070
ScaleWidth = 4815
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command2
Caption = "确定"
Default = -1 'True
Height = 310
Left = 3480
TabIndex = 1
Top = 1680
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "重新记分(&R)"
Height = 310
Left = 1920
TabIndex = 2
Top = 1680
Width = 1455
End
Begin VB.Frame Frame1
Caption = "扫雷英雄榜"
Height = 1455
Left = 120
TabIndex = 0
Top = 120
Width = 4575
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "匿名"
Height = 180
Index = 2
Left = 2880
TabIndex = 11
Top = 1080
Width = 360
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "匿名"
Height = 180
Index = 1
Left = 2880
TabIndex = 10
Top = 720
Width = 360
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = " 秒"
Height = 180
Index = 2
Left = 1560
TabIndex = 9
Top = 1080
Width = 270
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = " 秒"
Height = 180
Index = 1
Left = 1560
TabIndex = 8
Top = 720
Width = 270
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "高级:"
Height = 180
Index = 2
Left = 240
TabIndex = 7
Top = 1080
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "中级:"
Height = 180
Index = 1
Left = 240
TabIndex = 6
Top = 720
Width = 450
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "匿名"
Height = 180
Index = 0
Left = 2880
TabIndex = 5
Top = 360
Width = 360
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = " 秒"
Height = 180
Index = 0
Left = 1560
TabIndex = 4
Top = 360
Width = 270
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "初级:"
Height = 180
Index = 0
Left = 240
TabIndex = 3
Top = 360
Width = 450
End
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command1_Click()
If MsgBox("确定要清除现有记录吗?", vbYesNo + vbDefaultButton2 + vbInformation, "提示") = vbNo Then Exit Sub
Call SetIniN("扫雷", "Time1", 999)
Call SetIniN("扫雷", "Time2", 999)
Call SetIniN("扫雷", "Time3", 999)
Call SetIniS("扫雷", "Name1", "匿名")
Call SetIniS("扫雷", "Name2", "匿名")
Call SetIniS("扫雷", "Name3", "匿名")
Jl.Time1 = 999
Jl.Time2 = 999
Jl.Time3 = 999
Jl.Name1 = "匿名"
Jl.Name2 = "匿名"
Jl.Name3 = "匿名"
Unload Me
End Sub
Private Sub Form_Load()
Me.Icon = Form1.Icon
Label2(0).Caption = Jl.Time1 & " 秒"
Label2(1).Caption = Jl.Time2 & " 秒"
Label2(2).Caption = Jl.Time3 & " 秒"
Label3(0).Caption = Jl.Name1
Label3(1).Caption = Jl.Name2
Label3(2).Caption = Jl.Name3
End Sub