fsetting.frm

来自「本目录内所有代码仅作指导用户编程之用,用户如果要作为 商业用途,建议使用正版软」· FRM 代码 · 共 129 行

FRM
129
字号
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form FSetting 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "设置"
   ClientHeight    =   2565
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4335
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   9
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2565
   ScaleWidth      =   4335
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CheckBox Check1 
      Caption         =   "系统自动维护用户列表"
      Height          =   375
      Left            =   480
      TabIndex        =   7
      Top             =   1440
      Width           =   2415
   End
   Begin MSComctlLib.Slider Slider1 
      Height          =   375
      Left            =   960
      TabIndex        =   3
      Top             =   720
      Width           =   2775
      _ExtentX        =   4895
      _ExtentY        =   661
      _Version        =   393216
      LargeChange     =   1
      Max             =   5
   End
   Begin VB.TextBox Text1 
      BeginProperty DataFormat 
         Type            =   1
         Format          =   "0"
         HaveTrueFalseNull=   0
         FirstDayOfWeek  =   0
         FirstWeekOfYear =   0
         LCID            =   2052
         SubFormatType   =   1
      EndProperty
      Height          =   300
      Left            =   1080
      TabIndex        =   2
      Tag             =   "1"
      Text            =   "Text1"
      Top             =   240
      Width           =   1455
   End
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   375
      Left            =   2760
      TabIndex        =   1
      Top             =   2040
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   375
      Index           =   0
      Left            =   600
      TabIndex        =   0
      Top             =   2040
      Width           =   975
   End
   Begin VB.Label Label3 
      Caption         =   "0    60   120  180  240  300"
      Height          =   255
      Left            =   1125
      TabIndex        =   6
      Top             =   1080
      Width           =   2895
   End
   Begin VB.Label Label2 
      Caption         =   "间隔"
      Height          =   255
      Left            =   480
      TabIndex        =   5
      Top             =   810
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "端口"
      Height          =   255
      Left            =   480
      TabIndex        =   4
      Top             =   315
      Width           =   495
   End
End
Attribute VB_Name = "FSetting"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click(Index As Integer)
    srvport = Val(Text1.Text)
    waittime = FSetting.Slider1.SelStart * 60
    SysAutoM = Check1.Value
    FSetting.Hide
End Sub

Private Sub Command2_Click()
    FSetting.Hide
End Sub

Private Sub Form_Load()
    Text1.Text = Str(srvport)
    Slider1.SelStart = waittime \ 60
    Check1.Value = SysAutoM
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?