📄 frmchecknet.frm
字号:
VERSION 5.00
Begin VB.Form frmCheckNet
BorderStyle = 1 'Fixed Single
Caption = "全程巡检"
ClientHeight = 1530
ClientLeft = 45
ClientTop = 330
ClientWidth = 4005
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 1530
ScaleWidth = 4005
Begin VB.CommandButton cmdOK
Caption = "检查"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 1
Top = 960
Width = 1215
End
Begin VB.CommandButton cmdCancel
Caption = "返回"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2160
TabIndex = 0
Top = 960
Width = 1215
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "按""检查""键开始进行全程巡检"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 2
Top = 480
Width = 3495
End
End
Attribute VB_Name = "frmCheckNet"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'人人为我,我为人人
'枕善居收藏整理
'发布日期:2007/07/09
'描 述:CBB三表户外计量系统 Ver 5.2
'网 站:http://www.Mndsoft.com/ (VB6源码博客)
'网 站:http://www.VbDnet.com/ (VB.NET源码博客,主要基于.NET2005)
'e-mail :Mndsoft@163.com
'e-mail :Mndsoft@126.com
'OICQ :88382850
' 如果您有新的好的代码别忘记给枕善居哦!
'****************************************************************************
Private Sub cmdCancel_Click()
Unload frmCheckNet
End Sub
Private Sub cmdOK_Click()
cmdOK.Enabled = False
'status
AppendStatusInfo "开始进行网络巡检", icoBLUE
SaveLog "开始进行网络巡检", 0
CheckAll '检查全部网络
'status
AppendStatusInfo "完成网络巡检", icoBLUE
SaveLog "完成网络巡检", 0
cmdOK.Enabled = True
End Sub
Private Sub Form_Load()
If UBound(curForm) > 0 Then
curForm(UBound(curForm)).Enabled = False
End If
ReDim Preserve curForm(UBound(curForm) + 1)
Set curForm(UBound(curForm)) = Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
ReDim Preserve curForm(UBound(curForm) - 1)
If UBound(curForm) > 0 Then
curForm(UBound(curForm)).Enabled = True
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -