VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   4665
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7200
   LinkTopic       =   "Form1"
   ScaleHeight     =   4665
   ScaleWidth      =   7200
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "пуск"
      Height          =   495
      Left            =   360
      TabIndex        =   2
      Top             =   2640
      Width           =   1335
   End
   Begin VB.Timer Timer2 
      Interval        =   1
      Left            =   1800
      Top             =   1920
   End
   Begin VB.Timer Timer1 
      Interval        =   1
      Left            =   360
      Top             =   1920
   End
   Begin VB.TextBox Text2 
      Height          =   615
      Left            =   3720
      TabIndex        =   1
      Top             =   240
      Width           =   2415
   End
   Begin VB.TextBox Text1 
      Height          =   615
      Left            =   360
      TabIndex        =   0
      Top             =   240
      Width           =   2055
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim inf As String, fo As Single

Private Sub Command1_Click()
fo = Time

End Sub

Private Sub Form_Load()
fo = Time

End Sub

Private Sub Timer1_Timer()
inf = Str(Time - fo)
Text1.Text = inf
If inf = "0:00:10" Then
Form1.Print "стоп"
End If
End Sub

