📄 frmmain.frm
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmMain
Caption = "Port Spy"
ClientHeight = 4905
ClientLeft = 60
ClientTop = 420
ClientWidth = 8085
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 4905
ScaleWidth = 8085
StartUpPosition = 2 'CenterScreen
Begin MSComctlLib.StatusBar SBar
Align = 2 'Align Bottom
Height = 255
Left = 0
TabIndex = 23
Top = 4650
Width = 8085
_ExtentX = 14261
_ExtentY = 450
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 2
Object.Width = 1773
MinWidth = 1764
Object.ToolTipText = "Hostname of this computer."
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 2
Object.Width = 1773
MinWidth = 1764
Object.ToolTipText = "IP of this computer."
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 2
AutoSize = 1
Object.Width = 10160
Object.ToolTipText = "Ping requests and replies."
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar tbr1
Align = 1 'Align Top
Height = 630
Left = 0
TabIndex = 2
Top = 0
Width = 8085
_ExtentX = 14261
_ExtentY = 1111
ButtonWidth = 1376
ButtonHeight = 1058
AllowCustomize = 0 'False
Wrappable = 0 'False
Appearance = 1
Style = 1
ImageList = "imgCold"
DisabledImageList= "imgCold"
HotImageList = "imgHot"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 7
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "Stop"
Key = "stop"
Object.ToolTipText = "Stop Monitoring"
ImageIndex = 1
Style = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "Refresh"
Object.ToolTipText = "Refresh Connection List"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "Active"
Object.ToolTipText = "Showing only active connections."
ImageIndex = 3
Style = 1
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "IP Addr"
Object.ToolTipText = "Showing IP addresses."
ImageIndex = 4
Style = 1
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "Filter (Off)"
Object.ToolTipText = "Filtering is disabled."
ImageIndex = 5
Style = 1
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "Log (Off)"
Object.ToolTipText = "Logging is disabled."
ImageIndex = 6
Style = 1
EndProperty
EndProperty
End
Begin TabDlg.SSTab SSTab1
Height = 3855
Left = 0
TabIndex = 0
Top = 720
Width = 8055
_ExtentX = 14208
_ExtentY = 6800
_Version = 393216
Style = 1
Tab = 2
TabHeight = 520
TabCaption(0) = "Active Ports"
TabPicture(0) = "frmMain.frx":0000
Tab(0).ControlEnabled= 0 'False
Tab(0).Control(0)= "imgCold"
Tab(0).Control(1)= "imgHot"
Tab(0).Control(2)= "tmr1"
Tab(0).Control(3)= "lvwCon"
Tab(0).ControlCount= 4
TabCaption(1) = "Filter"
TabPicture(1) = "frmMain.frx":001C
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "cmdSave"
Tab(1).Control(1)= "chkAct(2)"
Tab(1).Control(2)= "chkAct(1)"
Tab(1).Control(3)= "chkAct(0)"
Tab(1).Control(4)= "fraFilter(2)"
Tab(1).Control(5)= "fraFilter(1)"
Tab(1).Control(6)= "fraFilter(0)"
Tab(1).ControlCount= 7
TabCaption(2) = "Log"
TabPicture(2) = "frmMain.frx":0038
Tab(2).ControlEnabled= -1 'True
Tab(2).Control(0)= "lvwLog"
Tab(2).Control(0).Enabled= 0 'False
Tab(2).Control(1)= "fraLog"
Tab(2).Control(1).Enabled= 0 'False
Tab(2).ControlCount= 2
Begin VB.CommandButton cmdSave
Caption = "Save"
Height = 375
Left = -68400
TabIndex = 22
Top = 840
Width = 975
End
Begin VB.Frame fraLog
Caption = ".:: Logging Options ::."
Height = 3375
Left = 5640
TabIndex = 18
Top = 360
Width = 2295
Begin VB.CommandButton cmdViewLog
Caption = "View Log"
Height = 375
Left = 1200
TabIndex = 26
Top = 2880
Width = 975
End
Begin VB.CheckBox chkLog
Caption = "ICMP Statistics"
Height = 255
Index = 3
Left = 120
TabIndex = 24
ToolTipText = "Ping requests and replies."
Top = 1440
Width = 1455
End
Begin VB.CheckBox chkLog
Caption = "Blocked connections"
Height = 255
Index = 2
Left = 120
TabIndex = 21
Top = 1080
Width = 1935
End
Begin VB.CheckBox chkLog
Caption = "Connected Ports"
Height = 255
Index = 1
Left = 120
TabIndex = 20
Top = 720
Width = 1575
End
Begin VB.CheckBox chkLog
Caption = "Listening Ports"
Height = 255
Index = 0
Left = 120
TabIndex = 19
Top = 360
Width = 1455
End
End
Begin VB.CheckBox chkAct
Caption = "Actived"
Height = 255
Index = 2
Left = -70080
TabIndex = 12
Top = 360
Value = 1 'Checked
Width = 855
End
Begin VB.CheckBox chkAct
Caption = "Actived"
Height = 255
Index = 1
Left = -71760
TabIndex = 11
Top = 360
Value = 1 'Checked
Width = 855
End
Begin VB.CheckBox chkAct
Caption = "Actived"
Height = 255
Index = 0
Left = -74880
TabIndex = 10
Top = 360
Value = 1 'Checked
Width = 855
End
Begin VB.Frame fraFilter
Caption = ".:: Local Port ::."
Height = 3135
Index = 2
Left = -70080
TabIndex = 5
Top = 600
Width = 1575
Begin VB.CommandButton cmdAdd
Caption = "Add"
Height = 255
Index = 2
Left = 840
TabIndex = 14
Top = 240
Width = 615
End
Begin VB.TextBox txtAdd
BeginProperty DataFormat
Type = 1
Format = "0"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 1033
SubFormatType = 1
EndProperty
Height = 285
Index = 2
Left = 120
MaxLength = 5
TabIndex = 13
Top = 240
Width = 615
End
Begin MSComctlLib.ListView lvwFilter
Height = 2415
Index = 2
Left = 120
TabIndex = 17
Top = 600
Width = 1335
_ExtentX = 2355
_ExtentY = 4260
View = 2
MultiSelect = -1 'True
LabelWrap = -1 'True
HideSelection = -1 'True
Checkboxes = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
NumItems = 0
End
End
Begin VB.Frame fraFilter
Caption = ".:: Remote Port ::."
Height = 3135
Index = 1
Left = -71760
TabIndex = 4
Top = 600
Width = 1575
Begin VB.CommandButton cmdAdd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -