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

📄 frm_3.frm

📁 提醒系统,可以提醒大家的作息时间.希望大家以后多多的支持!
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frm_3 
   BackColor       =   &H00FF8080&
   Caption         =   "自动关机"
   ClientHeight    =   4095
   ClientLeft      =   2955
   ClientTop       =   2340
   ClientWidth     =   5190
   ControlBox      =   0   'False
   FillColor       =   &H000000FF&
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   9
      Charset         =   134
      Weight          =   700
      Underline       =   0   'False
      Italic          =   -1  'True
      Strikethrough   =   0   'False
   EndProperty
   ForeColor       =   &H00FF0000&
   LinkTopic       =   "Form2"
   ScaleHeight     =   4095
   ScaleWidth      =   5190
   Begin VB.Timer Timer3 
      Interval        =   10000
      Left            =   480
      Top             =   3120
   End
   Begin VB.CommandButton command2 
      Caption         =   "确定"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   2280
      TabIndex        =   0
      Top             =   3240
      Width           =   975
   End
   Begin VB.Timer Timer2 
      Interval        =   500
      Left            =   4680
      Top             =   1080
   End
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   60000
      Left            =   4680
      Top             =   240
   End
   Begin VB.CommandButton Command1 
      Caption         =   "取消"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   3840
      TabIndex        =   1
      Top             =   3240
      Width           =   975
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      Caption         =   "现在时刻:"
      BeginProperty Font 
         Name            =   "仿宋_GB2312"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   450
      Left            =   240
      TabIndex        =   4
      Top             =   360
      Width           =   1575
   End
   Begin VB.Label Label3 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   495
      Left            =   1830
      TabIndex        =   3
      Top             =   360
      Width           =   2355
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00C000C0&
      BorderStyle     =   1  'Fixed Single
      Caption         =   $"frm_3.frx":0000
      BeginProperty Font 
         Name            =   "仿宋_GB2312"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   1815
      Left            =   240
      TabIndex        =   2
      Top             =   1080
      Width           =   4095
      WordWrap        =   -1  'True
   End
End
Attribute VB_Name = "frm_3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Declare Function ExitWindowsEx Lib "user32" _
(ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Dim uFlags As Long
Dim dwReserved As Long
Dim X
Private Sub Command1_Click()
Timer1.Enabled = False
Unload frm_3
End Sub

Private Sub Command2_Click()
frm_3.Hide
End Sub

Private Sub Form_Load()
uFlags = 1
dwReserved = 1
End Sub

Private Sub Label2_Click()

End Sub

Private Sub Timer1_Timer()
 X = ExitWindowsEx(uFlags, dwReserved)
End Sub

Private Sub Timer2_Timer()
Label3.Caption = Time
End Sub

Private Sub Timer3_Timer()
Timer1.Enabled = True
End Sub

Private Sub Timer4_Timer()
Timer3.Enabled = True
End Sub

⌨️ 快捷键说明

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