📄 frm_main.frm
字号:
VERSION 5.00
Begin VB.Form Frm_Main
BorderStyle = 3 'Fixed Dialog
ClientHeight = 7365
ClientLeft = 45
ClientTop = 330
ClientWidth = 12180
Icon = "Frm_Main.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "Frm_Main.frx":000C
ScaleHeight = 7365
ScaleWidth = 12180
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.TextBox Text1
Height = 270
Left = 90
TabIndex = 27
Text = "Text1"
Top = 540
Visible = 0 'False
Width = 450
End
Begin VB.PictureBox Piczcd
BorderStyle = 0 'None
Height = 3945
Left = 5100
Picture = "Frm_Main.frx":126110
ScaleHeight = 3945
ScaleWidth = 6105
TabIndex = 14
Top = 2520
Visible = 0 'False
Width = 6105
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 11
Left = 1665
TabIndex = 26
Top = 2460
Visible = 0 'False
Width = 3405
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 10
Left = 1665
TabIndex = 25
Top = 1815
Visible = 0 'False
Width = 3405
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 9
Left = 1665
TabIndex = 24
Top = 1200
Visible = 0 'False
Width = 3435
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 8
Left = 1665
TabIndex = 23
Top = 2790
Visible = 0 'False
Width = 4200
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 7
Left = 1665
TabIndex = 22
Top = 2190
Visible = 0 'False
Width = 4200
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 6
Left = 1650
TabIndex = 21
Top = 1545
Visible = 0 'False
Width = 4200
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 435
Index = 5
Left = 1590
TabIndex = 20
Top = 900
Visible = 0 'False
Width = 4275
End
Begin VB.Label Lbl2
BackColor = &H008080FF&
BackStyle = 0 'Transparent
Height = 360
Index = 4
Left = 1665
TabIndex = 19
Top = 2430
Visible = 0 'False
Width = 3315
End
Begin VB.Label Lbl2
BackColor = &H008080FF&
BackStyle = 0 'Transparent
Height = 360
Index = 3
Left = 1665
TabIndex = 18
Top = 1770
Visible = 0 'False
Width = 3060
End
Begin VB.Label Lbl2
BackColor = &H008080FF&
BackStyle = 0 'Transparent
Height = 360
Index = 2
Left = 1665
TabIndex = 17
Top = 1155
Visible = 0 'False
Width = 3060
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 1
Left = 1650
TabIndex = 16
Top = 2085
Visible = 0 'False
Width = 3060
End
Begin VB.Label Lbl2
BackStyle = 0 'Transparent
Height = 360
Index = 0
Left = 1650
TabIndex = 15
Top = 1485
Visible = 0 'False
Width = 3060
End
End
Begin VB.PictureBox Pic1
BorderStyle = 0 'None
Height = 480
Index = 6
Left = 975
Picture = "Frm_Main.frx":1812C0
ScaleHeight = 480
ScaleWidth = 2760
TabIndex = 13
Top = 6225
Visible = 0 'False
Width = 2760
End
Begin VB.PictureBox Pic1
BorderStyle = 0 'None
Height = 450
Index = 5
Left = 975
Picture = "Frm_Main.frx":185884
ScaleHeight = 450
ScaleWidth = 2745
TabIndex = 12
Top = 5550
Visible = 0 'False
Width = 2745
End
Begin VB.PictureBox Pic1
BorderStyle = 0 'None
Height = 450
Index = 4
Left = 990
Picture = "Frm_Main.frx":189C1C
ScaleHeight = 450
ScaleWidth = 2715
TabIndex = 11
Top = 4905
Visible = 0 'False
Width = 2715
End
Begin VB.PictureBox Pic1
BorderStyle = 0 'None
Height = 480
Index = 3
Left = 990
Picture = "Frm_Main.frx":18DD88
ScaleHeight = 480
ScaleWidth = 2730
TabIndex = 10
Top = 4230
Visible = 0 'False
Width = 2730
End
Begin VB.PictureBox Pic1
BorderStyle = 0 'None
Height = 480
Index = 2
Left = 990
Picture = "Frm_Main.frx":19234C
ScaleHeight = 480
ScaleWidth = 2715
TabIndex = 4
Top = 3585
Visible = 0 'False
Width = 2715
End
Begin VB.PictureBox Pic1
BorderStyle = 0 'None
Height = 450
Index = 1
Left = 960
Picture = "Frm_Main.frx":196890
ScaleHeight = 450
ScaleWidth = 2775
TabIndex = 3
Top = 2940
Visible = 0 'False
Width = 2775
End
Begin VB.PictureBox Pic1
BorderStyle = 0 'None
Height = 450
Index = 0
Left = 960
Picture = "Frm_Main.frx":19AA74
ScaleHeight = 450
ScaleWidth = 2775
TabIndex = 0
Top = 2310
Visible = 0 'False
Width = 2775
End
Begin VB.Image Image1
Height = 480
Left = 11100
Picture = "Frm_Main.frx":19EE88
Stretch = -1 'True
Top = 6795
Width = 1020
End
Begin VB.Label Lbl1
BackStyle = 0 'Transparent
Height = 495
Index = 6
Left = 930
TabIndex = 9
Top = 6240
Width = 2910
End
Begin VB.Label Lbl1
BackStyle = 0 'Transparent
Height = 495
Index = 5
Left = 930
TabIndex = 8
Top = 5550
Width = 2910
End
Begin VB.Label Lbl1
BackStyle = 0 'Transparent
Height = 495
Index = 4
Left = 930
TabIndex = 7
Top = 4890
Width = 2910
End
Begin VB.Label Lbl1
BackStyle = 0 'Transparent
Height = 495
Index = 3
Left = 930
TabIndex = 6
Top = 4215
Width = 2910
End
Begin VB.Label Lbl1
BackStyle = 0 'Transparent
Height = 495
Index = 2
Left = 930
TabIndex = 5
Top = 3585
Width = 2910
End
Begin VB.Label Lbl1
BackStyle = 0 'Transparent
Height = 495
Index = 1
Left = 930
TabIndex = 2
Top = 2940
Width = 2910
End
Begin VB.Label Lbl1
BackStyle = 0 'Transparent
Height = 495
Index = 0
Left = 915
TabIndex = 1
Top = 2295
Width = 2910
End
End
Attribute VB_Name = "Frm_Main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i, A, b, c As Integer
Private Sub Lbl1_Click(Index As Integer)
For i = 0 To 6
If i = Index Then
Pic1(i).Visible = True
Else
Pic1(i).Visible = False
End If
Next i
Piczcd.Visible = True
Select Case Index
Case Is = 0
Piczcd.Picture = LoadPicture(App.Path & "\image\z1.bmp")
Lbl2(0).Visible = True
Lbl2(1).Visible = True
For i = 2 To 11
Lbl2(i).Visible = False
Next i
Case Is = 1
Piczcd.Visible = False
Load Main_Enter
Main_Enter.Show
Text1.Text = "12"
EnaF Frm_Main
Case Is = 2
Piczcd.Picture = LoadPicture(App.Path & "\image\z2.bmp")
Lbl2(0).Visible = False
Lbl2(1).Visible = False
For A = 2 To 4
Lbl2(A).Visible = True
Next A
For b = 5 To 11
Lbl2(b).Visible = False
Next b
Case Is = 3
Piczcd.Picture = LoadPicture(App.Path & "\image\z3.bmp")
For A = 0 To 4
Lbl2(A).Visible = False
Next A
For b = 5 To 8
Lbl2(b).Visible = True
Next b
For c = 9 To 11
Lbl2(c).Visible = False
Next c
Case Is = 4
Piczcd.Picture = LoadPicture(App.Path & "\image\z4.bmp")
For A = 0 To 8
Lbl2(A).Visible = False
Next A
For b = 9 To 11
Lbl2(b).Visible = True
Next b
Case Is = 5
Piczcd.Visible = False
Load main_about
main_about.Show
EnaF Frm_Main
Case Is = 6
Piczcd.Visible = False
Load main_help
main_help.Show
EnaF Frm_Main
End Select
End Sub
Private Sub Lbl2_Click(Index As Integer)
Load Main_Enter
Main_Enter.Show
Text1.Text = Lbl2(Index).Index
EnaF Frm_Main
End Sub
Private Sub Image1_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -