📄 frmwel.frm
字号:
BackColor = &H0000FF00&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
BorderWidth = 2
Height = 255
Index = 4
Left = 240
Shape = 3 'Circle
Top = 3840
Width = 375
End
Begin VB.Shape Shape1
BackColor = &H0000FF00&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
BorderWidth = 2
Height = 255
Index = 5
Left = 240
Shape = 3 'Circle
Top = 4440
Width = 375
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Address Search"
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 285
Index = 2
Left = 720
MouseIcon = "FrmWel.frx":19136
MousePointer = 99 'Custom
TabIndex = 5
Top = 2700
Width = 1575
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Yellow Pages"
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 285
Index = 3
Left = 720
MouseIcon = "FrmWel.frx":19440
MousePointer = 99 'Custom
TabIndex = 4
Top = 3270
Width = 1320
End
Begin VB.Shape Shape1
BackColor = &H0000FF00&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
BorderWidth = 2
Height = 255
Index = 2
Left = 240
Shape = 3 'Circle
Top = 2760
Width = 375
End
Begin VB.Shape Shape1
BackColor = &H0000FF00&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
BorderWidth = 2
Height = 255
Index = 3
Left = 240
Shape = 3 'Circle
Top = 3240
Width = 375
End
Begin VB.Shape Shape1
BackColor = &H0000FF00&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
BorderWidth = 2
Height = 255
Index = 1
Left = 240
Shape = 3 'Circle
Top = 2160
Width = 375
End
Begin VB.Shape Shape1
BackColor = &H0000FF00&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
BorderWidth = 2
Height = 255
Index = 0
Left = 240
Shape = 3 'Circle
Top = 1560
Width = 375
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "I S D Code Search"
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 285
Index = 1
Left = 720
MouseIcon = "FrmWel.frx":1974A
MousePointer = 99 'Custom
TabIndex = 3
Top = 2130
Width = 1860
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "S T D Code Search"
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 285
Index = 0
Left = 720
MouseIcon = "FrmWel.frx":19A54
MousePointer = 99 'Custom
TabIndex = 2
Top = 1560
Width = 1920
End
Begin VB.Line Line1
BorderColor = &H000000FF&
BorderWidth = 3
X1 = 840
X2 = 9480
Y1 = 960
Y2 = 960
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Online Telephone Directory"
BeginProperty Font
Name = "Garamond"
Size = 36
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 810
Left = 840
TabIndex = 1
Top = 120
Width = 8700
End
Begin VB.Shape Shape9
BackStyle = 1 'Opaque
BorderColor = &H00C0C0FF&
BorderWidth = 4
Height = 975
Left = 6480
Shape = 2 'Oval
Top = 5040
Width = 2775
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
WebBrowser1.Navigate App.Path & "\main.html"
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
For i = 0 To 8
Label2(i).ForeColor = vbWhite
Label2(i).FontSize = 12
Next
End Sub
Private Sub Label10_Click()
Form2.Show
End Sub
Private Sub Label2_Click(Index As Integer)
If Index = 0 Then Unload Me: Form5.Show
If Index = 1 Then Unload Me: Form6.Show
If Index = 2 Then Unload Me: Form7.Show
If Index = 3 Then Unload Me: Form11.Show
If Index = 4 Then Unload Me: Form8.Show
If Index = 5 Then Unload Me: Form9.Show
If Index = 8 Then Unload Me: Form12.Show
If Index = 6 Then Unload Me: Form13.Show
If Index = 7 Then End
End Sub
Private Sub Label2_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
Label2(Index).ForeColor = vbRed
Label2(Index).FontSize = 14
End Sub
Private Sub Timer1_Timer()
For i = 0 To Shape1.Count - 1
Shape1(i).BackColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)
Next
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -