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

📄 frmdatetimepicker.frm

📁 这是别人的数据库课程设计
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Begin VB.Form frmDateTimePicker 
   Caption         =   "DateTimePicker控件"
   ClientHeight    =   2130
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   2130
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "结束"
      Height          =   375
      Left            =   1800
      TabIndex        =   4
      Top             =   1665
      Width           =   1230
   End
   Begin MSComCtl2.DTPicker DTPicker2 
      Height          =   285
      Left            =   2295
      TabIndex        =   1
      Top             =   225
      Width           =   1860
      _ExtentX        =   3281
      _ExtentY        =   503
      _Version        =   393216
      Format          =   23789570
      CurrentDate     =   37698
   End
   Begin MSComCtl2.DTPicker DTPicker1 
      Height          =   285
      Left            =   225
      TabIndex        =   0
      Top             =   225
      Width           =   1815
      _ExtentX        =   3201
      _ExtentY        =   503
      _Version        =   393216
      CustomFormat    =   "hh':'mm dddMMMd'日,'yyy"
      Format          =   23789568
      CurrentDate     =   37698
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "Label2"
      Height          =   180
      Left            =   405
      TabIndex        =   3
      Top             =   1350
      Width           =   540
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "Label1"
      Height          =   180
      Left            =   405
      TabIndex        =   2
      Top             =   765
      Width           =   540
   End
End
Attribute VB_Name = "frmDateTimePicker"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub DTPicker1_Change()
Label1.Caption = "选取的日期为:" & DTPicker1.Value
DTPicker2.Value = DTPicker1.Value

End Sub

Private Sub DTPicker2_Change()
Label2.Caption = "选取的时间为:" & DTPicker2.Value
End Sub

Private Sub Form_Load()
Label1.Caption = "选取的日期为:" & DTPicker1.Value
Label2.Caption = "选取原时间为:" & DTPicker2.Value
End Sub

⌨️ 快捷键说明

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