VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00008000&
   Caption         =   "Время и дата"
   ClientHeight    =   1824
   ClientLeft      =   4776
   ClientTop       =   2988
   ClientWidth     =   3072
   LinkTopic       =   "Form1"
   ScaleHeight     =   1824
   ScaleWidth      =   3072
   Begin VB.CommandButton cmdTD 
      Caption         =   "Сейчас и сегодня"
      Height          =   372
      Left            =   720
      TabIndex        =   2
      Top             =   1200
      Width           =   1695
   End
   Begin VB.TextBox txtData 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   348
      Left            =   1560
      TabIndex        =   1
      Top             =   720
      Width           =   1335
   End
   Begin VB.TextBox txtTime 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   348
      Left            =   1560
      TabIndex        =   0
      Top             =   240
      Width           =   1335
   End
   Begin VB.Label lblDate 
      BackColor       =   &H00FFFFFF&
      Caption         =   "Сегодня:"
      Height          =   372
      Left            =   120
      TabIndex        =   4
      Top             =   720
      Width           =   1212
   End
   Begin VB.Label lblTime 
      BackColor       =   &H00FFFFFF&
      Caption         =   "Точное время:"
      Height          =   372
      Left            =   120
      TabIndex        =   3
      Top             =   240
      Width           =   1212
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Sub cmdTD_Click()
txtTime.Text = Time$
txtData.Text = Date
End Sub
