frmparameter.frm

来自「短信平台管理系统是一个短信收发的平台,用户可以找一些代理的短信平台(IP),在系」· FRM 代码 · 共 106 行

FRM
106
字号
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 + =
减小字号Ctrl + -
显示快捷键?