⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmsteup1.frm

📁 疯狂五笔打字
💻 FRM
字号:
VERSION 5.00
Begin VB.Form FrmSteup1 
   Caption         =   "设置"
   ClientHeight    =   780
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   2175
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   ScaleHeight     =   780
   ScaleWidth      =   2175
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton CmdOK 
      Caption         =   "设定"
      Height          =   375
      Left            =   600
      TabIndex        =   3
      Top             =   400
      Width           =   975
   End
   Begin VB.TextBox TxtTime 
      Height          =   270
      Left            =   1200
      MaxLength       =   2
      TabIndex        =   1
      Top             =   80
      Width           =   495
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "分钟"
      Height          =   180
      Left            =   1800
      TabIndex        =   2
      Top             =   120
      Width           =   360
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "当前测试时间:"
      Height          =   180
      Left            =   0
      TabIndex        =   0
      Top             =   120
      Width           =   1260
   End
End
Attribute VB_Name = "FrmSteup1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdOK_Click()
    On errar GoTo ErrC
    If TxtTime.Text >= 1 And TxtTime.Text <= 60 Then
        Test = TxtTime.Text
        MsgBox "时间设定成功", , "提示"
    Else
        MsgBox "时间不能小于0大于60", , "提示"
        TxtTime.Text = Empty
        TxtTime.SetFocus
    End If
ErrC:
    MsgBox "数据不匹配", , "提示"
    TxtTime.Text = Empty
    TxtTime.SetFocus
End Sub

⌨️ 快捷键说明

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