📄 form9.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0"; "shdocvw.dll"
Begin VB.Form Form9
Caption = "新软工作室"
ClientHeight = 7200
ClientLeft = 60
ClientTop = 450
ClientWidth = 10005
Icon = "Form9.frx":0000
LinkTopic = "Form9"
ScaleHeight = 7200
ScaleWidth = 10005
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin VB.Timer timTimer
Enabled = 0 'False
Interval = 5
Left = 5880
Top = 1500
End
Begin SHDocVwCtl.WebBrowser brwWebBrowser
Height = 3735
Left = 0
TabIndex = 0
Top = 0
Width = 5400
ExtentX = 9525
ExtentY = 6588
ViewMode = 1
Offline = 0
Silent = 0
RegisterAsBrowser= 0
RegisterAsDropTarget= 0
AutoArrange = -1 'True
NoClientEdge = -1 'True
AlignLeft = 0 'False
NoWebView = 0 'False
HideFileNames = 0 'False
SingleClick = 0 'False
SingleSelection = 0 'False
NoFolders = 0 'False
Transparent = 0 'False
ViewID = "{0057D0E0-3573-11CF-AE69-08002B2E1262}"
Location = ""
End
Begin MSComctlLib.ImageList imlIcons
Left = 2670
Top = 2325
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 24
ImageHeight = 24
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 6
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form9.frx":6152
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form9.frx":6434
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form9.frx":6716
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form9.frx":69F8
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form9.frx":6CDA
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form9.frx":6FBC
Key = ""
EndProperty
EndProperty
End
End
Attribute VB_Name = "Form9"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public StartingAddress As String
Private Sub Form_Load()
On Error Resume Next
Me.Show
Form_Resize
StartingAddress = "http://www.xin-soft.com"
'试图对启动地址进行浏览
timTimer.Enabled = True
brwWebBrowser.Navigate StartingAddress
End Sub
Private Sub brwWebBrowser_DownloadComplete()
On Error Resume Next
Me.Caption = brwWebBrowser.LocationName
End Sub
Private Sub Form_Resize()
brwWebBrowser.Width = Me.ScaleWidth
brwWebBrowser.Height = Me.ScaleHeight
End Sub
Private Sub timTimer_Timer()
If brwWebBrowser.Busy = False Then
timTimer.Enabled = False
Me.Caption = brwWebBrowser.LocationName
Else
Me.Caption = "正在寻找网站......"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -