📄 frmservicealert.frm
字号:
VERSION 5.00
Begin VB.Form frmServiceAlert
BorderStyle = 3 'Fixed Dialog
Caption = "警示! - 可疑的IP地址"
ClientHeight = 4905
ClientLeft = 45
ClientTop = 435
ClientWidth = 6225
Icon = "frmServiceAlert.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "frmServiceAlert.frx":0442
ScaleHeight = 327
ScaleMode = 3 'Pixel
ScaleWidth = 415
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin OnIt_Pro_Firewall.CandyButton Command1
Height = 495
Left = 4920
TabIndex = 6
Top = 4320
Width = 1215
_extentx = 2143
_extenty = 873
font = "frmServiceAlert.frx":A5EE
caption = "允许"
captionhighlitecolor= 0
iconhighlitecolor= 0
checked = 0 'False
colorbuttonhover= 160
colorbuttonup = 128
colorbuttondown = 240
colorbright = 255
borderbrightness= 0
displayhand = 0 'False
colorscheme = 4
End
Begin OnIt_Pro_Firewall.CandyButton Command2
Height = 495
Left = 3600
TabIndex = 5
Top = 4320
Width = 1215
_extentx = 2143
_extenty = 873
font = "frmServiceAlert.frx":A612
caption = "阻止"
captionhighlitecolor= 0
iconhighlitecolor= 0
checked = 0 'False
colorbuttonhover= 160
colorbuttonup = 128
colorbuttondown = 240
colorbright = 255
borderbrightness= 0
displayhand = 0 'False
colorscheme = 4
End
Begin VB.CheckBox Check2
BackColor = &H00000080&
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 255
Left = 120
TabIndex = 3
Top = 4320
Width = 255
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "记住当前回答,下次不要再问"
ForeColor = &H00FFFFFF&
Height = 225
Left = 465
TabIndex = 7
Top = 4350
Width = 2400
End
Begin VB.Label Label3
BackColor = &H80000016&
BackStyle = 0 'Transparent
Caption = "详细信息:"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 480
TabIndex = 4
Top = 45
Width = 1215
End
Begin VB.Shape Shape2
BorderColor = &H00FFFFFF&
BorderStyle = 3 'Dot
Height = 1215
Left = 120
Shape = 4 'Rounded Rectangle
Top = 2880
Width = 6015
End
Begin VB.Shape Shape1
BorderColor = &H00FFFFFF&
BorderStyle = 3 'Dot
Height = 2055
Left = 120
Shape = 4 'Rounded Rectangle
Top = 240
Width = 6015
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = $"frmServiceAlert.frx":A636
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 975
Left = 240
TabIndex = 2
Top = 3000
Width = 5775
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H80000016&
BackStyle = 0 'Transparent
Caption = "这个提示是告诉用户需要注意什么?"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 180
Left = 360
TabIndex = 1
Top = 2685
Width = 3030
End
Begin VB.Label lblDesc
BackStyle = 0 'Transparent
Caption = $"frmServiceAlert.frx":A6DA
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 1815
Left = 240
TabIndex = 0
Top = 360
Width = 5775
End
End
Attribute VB_Name = "frmServiceAlert"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'人人为我,我为人人
'枕善居汉化收藏整理
'发布日期:2007/09/20
'描 述:界面清爽VB版高级专业防火墙 Ver 2.0.3
'网 站:http://www.Mndsoft.com/ (VB6源码博客)
'网 站:http://www.VbDnet.com/ (VB.NET源码博客,主要基于.NET2005)
'e-mail :Mndsoft@163.com
'e-mail :Mndsoft@126.com
'OICQ :88382850
' 如果您有新的好的代码别忘记给枕善居哦!
'****************************************************************************
Option Explicit
Private Sub Command1_Click()
If Check2.Value = vbChecked Then
With cINIFile
.Section = "NETWORKING"
.Key = Tag
.Value = "0" ' Trusted
End With 'cINIFile
End If
Unload Me
End Sub
Private Sub Command2_Click()
If Check2.Value = vbChecked Then
With cINIFile
.Section = "NETWORKING"
.Key = Tag
.Value = "2" ' Blocked
End With 'cINIFile
End If
Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
ServiceAlert = Replace$(ServiceAlert, "-=" & lblDESC.Tag & Tag & "=-", vbNullString)
End Sub
''Private Sub Check1_Click()
''
''
''
''
''' Check1.Enabled = False
''' cINIFile.Section = "ALLOWALL"
''' cINIFile.Key = "AD"
''' If Check1.Value = 1 Then
''' cINIFile.Value = "YES"
''' Else
''' cINIFile.Value = "NO"
''' End If
''' Check1.Enabled = True
''End Sub
''
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -