tim2.frm

来自「简易正/倒计时器,显示当前时间」· FRM 代码 · 共 71 行

FRM
71
字号
VERSION 5.00
Begin VB.Form Form1 
   BackColor       =   &H00C0E0FF&
   Caption         =   "Form1"
   ClientHeight    =   1290
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   2685
   Enabled         =   0   'False
   LinkTopic       =   "Form1"
   ScaleHeight     =   1290
   ScaleWidth      =   2685
   StartUpPosition =   3  '窗口缺省
   Visible         =   0   'False
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   315
      Left            =   1560
      TabIndex        =   2
      Top             =   780
      Width           =   795
   End
   Begin VB.CommandButton Command1 
      Caption         =   "退出"
      Height          =   315
      Left            =   360
      TabIndex        =   1
      Top             =   780
      Width           =   915
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00C0E0FF&
      Caption         =   "真的要退出吗?"
      BeginProperty Font 
         Name            =   "楷体_GB2312"
         Size            =   15
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   375
      Left            =   180
      TabIndex        =   0
      Top             =   240
      Width           =   2355
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()
    Form1.Visible = False
    Form1.Enabled = False
    End
End Sub

Private Sub Command2_Click()
    Form1.Visible = False
    Form1.Enabled = False
    form0.Enabled = True
End Sub

⌨️ 快捷键说明

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