📄 formsetip.frm
字号:
VERSION 5.00
Begin VB.Form FormSetIP
Caption = "设置IP"
ClientHeight = 825
ClientLeft = 60
ClientTop = 450
ClientWidth = 4980
LinkTopic = "Form1"
ScaleHeight = 825
ScaleWidth = 4980
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame2
Height = 735
Left = 3600
TabIndex = 3
Top = 0
Width = 1335
Begin VB.CommandButton Command1
Caption = "确 定"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 4
Top = 205
Width = 1095
End
End
Begin VB.Frame Frame1
Height = 735
Left = 120
TabIndex = 0
Top = 0
Width = 3375
Begin VB.TextBox txtIP
Height = 270
Left = 600
TabIndex = 2
Text = "txtIP"
Top = 240
Width = 2535
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "IP:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 240
TabIndex = 1
Top = 240
Width = 315
End
End
End
Attribute VB_Name = "FormSetIP"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If txtIP.Text = "" Then
MsgBox "IP不能为空"
Exit Sub
End If
Frm_MultiCli.IPStr = txtIP.Text
Unload Me
End Sub
Private Sub Form_Load()
txtIP.Text = ""
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -