📄 frmadd.frm
字号:
VERSION 5.00
Begin VB.Form frmadd
Caption = "添加用户板"
ClientHeight = 5970
ClientLeft = 60
ClientTop = 345
ClientWidth = 10110
LinkTopic = "Form1"
ScaleHeight = 5970
ScaleWidth = 10110
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdexit
Caption = "关闭"
Height = 375
Left = 7320
TabIndex = 24
Top = 5400
Width = 735
End
Begin VB.ComboBox Combo6
Height = 300
ItemData = "frmadd.frx":0000
Left = 1800
List = "frmadd.frx":000A
TabIndex = 22
Text = "bindIP"
Top = 5520
Width = 2295
End
Begin VB.Frame Frame2
Enabled = 0 'False
Height = 615
Left = 240
TabIndex = 19
Top = 4680
Width = 3855
Begin VB.TextBox Text4
Height = 270
Left = 1560
TabIndex = 21
Top = 240
Width = 2175
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "配 置 文 件 :"
Height = 180
Left = 120
TabIndex = 20
Top = 255
Width = 1260
End
End
Begin VB.OptionButton Option2
Caption = "使用配置文件"
Height = 255
Left = 240
TabIndex = 18
Top = 4320
Width = 1455
End
Begin VB.Frame Frame1
Height = 1695
Left = 240
TabIndex = 11
Top = 2520
Width = 3855
Begin VB.ComboBox Combo3
Height = 300
ItemData = "frmadd.frx":001D
Left = 1560
List = "frmadd.frx":0045
TabIndex = 14
Text = "2M"
Top = 240
Width = 2175
End
Begin VB.ComboBox Combo4
Height = 300
ItemData = "frmadd.frx":0080
Left = 1560
List = "frmadd.frx":00AB
TabIndex = 13
Text = "512K"
Top = 720
Width = 2175
End
Begin VB.ComboBox Combo5
Height = 300
ItemData = "frmadd.frx":00EC
Left = 1560
List = "frmadd.frx":00F6
TabIndex = 12
Text = "fast"
Top = 1200
Width = 2175
End
Begin VB.Label lblupratemax
AutoSize = -1 'True
Caption = "下行最大速率:"
Height = 180
Left = 120
TabIndex = 17
Top = 240
Width = 1260
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "上行最大速率:"
Height = 180
Left = 120
TabIndex = 16
Top = 720
Width = 1260
End
Begin VB.Label lblcannelmode
AutoSize = -1 'True
Caption = "端口交织模式:"
Height = 180
Left = 120
TabIndex = 15
Top = 1200
Width = 1260
End
End
Begin VB.OptionButton Option1
Caption = "不使用配置文件"
Height = 255
Left = 240
TabIndex = 10
Top = 2160
Value = -1 'True
Width = 1575
End
Begin VB.TextBox Text2
Height = 270
Left = 1680
TabIndex = 2
Top = 1200
Width = 2175
End
Begin VB.TextBox Text3
Height = 5175
Left = 4560
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 4
Top = 120
Width = 5295
End
Begin VB.CommandButton cmdok
Caption = "提交"
Default = -1 'True
Height = 375
Left = 5400
TabIndex = 9
Top = 5400
Width = 855
End
Begin VB.TextBox Text1
Height = 270
Left = 1680
TabIndex = 3
Top = 1680
Width = 2175
End
Begin VB.ComboBox Combo2
Height = 300
ItemData = "frmadd.frx":010D
Left = 1680
List = "frmadd.frx":0114
TabIndex = 1
Text = "添加用户板"
Top = 720
Width = 2175
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "frmadd.frx":0124
Left = 1680
List = "frmadd.frx":0134
TabIndex = 0
Text = "请选择相应设备"
Top = 240
Width = 2175
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "认 证 方 式 :"
Height = 180
Left = 240
TabIndex = 23
Top = 5520
Width = 1260
End
Begin VB.Line Line2
DrawMode = 1 'Blackness
X1 = 4320
X2 = 4320
Y1 = 120
Y2 = 5280
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "用 户 板 号:"
Height = 180
Left = 240
TabIndex = 8
Top = 1680
Width = 1260
End
Begin VB.Label lblip
AutoSize = -1 'True
Caption = "起 始 IP:"
Height = 180
Left = 240
TabIndex = 7
Top = 1200
Width = 1260
End
Begin VB.Label lblcaozuo
AutoSize = -1 'True
Caption = "操 作:"
Height = 180
Left = 240
TabIndex = 6
Top = 720
Width = 1260
End
Begin VB.Label lblshebei
AutoSize = -1 'True
Caption = "设 备 名 称:"
Height = 180
Left = 240
TabIndex = 5
Top = 240
Width = 1260
End
Begin VB.Line Line1
BorderWidth = 3
DrawMode = 4 'Mask Not Pen
X1 = 4320
X2 = 4320
Y1 = 120
Y2 = 5280
End
End
Attribute VB_Name = "frmadd"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public banhao As String
Public ip1, ip2, ip3, ip4 As String
Private Sub harbour1()
'打开端口
Text3.Text = "config port " + banhao + ":1-" + banhao + ":32 enable" + vbCrLf
Select Case Option1.Value
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -