?? resultfrm1.frm
字號:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form ResultFrm
BorderStyle = 1 'Fixed Single
Caption = "IP地址以及開放端口列表"
ClientHeight = 5685
ClientLeft = 45
ClientTop = 330
ClientWidth = 4650
Icon = "ResultFrm1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 5685
ScaleWidth = 4650
ShowInTaskbar = 0 'False
Begin VB.Frame Frame1
Caption = "開放的端口以及IP地址"
Height = 5345
Left = 0
TabIndex = 0
Top = 0
Width = 4655
Begin VB.Timer Timer1
Interval = 50
Left = 480
Top = 4080
End
Begin MSComctlLib.ListView ListView1
Height = 4935
Left = 120
TabIndex = 1
Top = 240
Width = 4455
_ExtentX = 7858
_ExtentY = 8705
View = 3
LabelWrap = -1 'True
HideSelection = -1 'True
GridLines = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 0
NumItems = 2
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "IP地址"
Object.Width = 6068
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "開放端口"
Object.Width = 4304
EndProperty
End
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 2
Top = 5310
Width = 4650
_ExtentX = 8202
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Alignment = 1
TextSave = "2008-7-1"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Alignment = 1
Object.Width = 3158
MinWidth = 3158
TextSave = "22:23"
EndProperty
EndProperty
End
End
Attribute VB_Name = "ResultFrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub ListView1_DblClick()
Dim Count As Long, i As Long
Count = ListView1.ListItems.Count
For i = 1 To ListView1.ListItems.Count
If ListView1.ListItems.Item(i).Checked = True Then
If ListView1.ListItems.Item(i).ListSubItems.Item(1).Text = 1433 Then
SqlFrm.Show
SqlFrm.txtIP.Text = ListView1.ListItems.Item(i).Text
Exit For
End If
End If
Next
End Sub
Private Sub ListView1_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
ListView1.ToolTipText = "雙擊進入1433端口連接"
End Sub
Private Sub Timer1_Timer()
ResultFrm.Top = MainFrm.Top
ResultFrm.Left = MainFrm.Left + MainFrm.Width
ResultFrm.Height = MainFrm.Height
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -