📄 frmparameter.frm
字号:
VERSION 5.00
Begin VB.Form FrmParameter
Caption = "参数设置"
ClientHeight = 2175
ClientLeft = 1800
ClientTop = 1935
ClientWidth = 4650
LinkTopic = "Form1"
ScaleHeight = 2175
ScaleWidth = 4650
Begin VB.CommandButton cmdok
Caption = "保存"
Default = -1 'True
Height = 375
Left = 1920
TabIndex = 3
Top = 1590
Width = 1215
End
Begin VB.CommandButton cmdcancel
Cancel = -1 'True
Caption = "取消"
Height = 375
Left = 3360
TabIndex = 2
Top = 1590
Width = 1215
End
Begin VB.TextBox txtip
DataField = "username"
Height = 285
Left = 2160
TabIndex = 1
Top = 600
Width = 2415
End
Begin VB.TextBox txtport
DataField = "username"
Height = 285
Left = 2160
TabIndex = 0
Top = 1080
Width = 2415
End
Begin VB.Label lblLabels
Caption = "短信服务器的IP地址:"
Height = 255
Index = 5
Left = 240
TabIndex = 5
Top = 615
Width = 1815
End
Begin VB.Label lblLabels
Caption = "短信服务器的端口:"
Height = 255
Index = 6
Left = 240
TabIndex = 4
Top = 1080
Width = 1815
End
End
Attribute VB_Name = "FrmParameter"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public ok As String
Public value As m_parameter
Private Sub Cmdcancel_Click()
ok = False
Me.Hide
'Unload Me
End Sub
Private Sub CmdOk_Click()
value.ip = Me.txtip
value.port = Me.txtport
ok = True
Me.Hide
'Unload Me
End Sub
Private Sub Form_Load()
Me.txtip = value.ip
Me.txtport = value.port
End Sub
Private Sub Form_Unload(Cancel As Integer)
ok = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -