VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   1245
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   3045
   LinkTopic       =   "Form1"
   ScaleHeight     =   1245
   ScaleWidth      =   3045
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command2 
      Height          =   255
      Left            =   1200
      TabIndex        =   3
      Top             =   600
      Width           =   255
   End
   Begin VB.CommandButton Command1 
      Height          =   255
      Left            =   1200
      TabIndex        =   2
      Top             =   240
      Width           =   255
   End
   Begin VB.TextBox Text2 
      Height          =   285
      Left            =   600
      Locked          =   -1  'True
      TabIndex        =   1
      Top             =   600
      Width           =   495
   End
   Begin VB.TextBox Text1 
      Height          =   285
      Left            =   600
      Locked          =   -1  'True
      TabIndex        =   0
      Top             =   240
      Width           =   495
   End
   Begin VB.Label Label2 
      Caption         =   "Click for minutes"
      Height          =   255
      Left            =   1560
      TabIndex        =   5
      Top             =   600
      Width           =   1335
   End
   Begin VB.Label Label1 
      Caption         =   "Click for hours"
      Height          =   255
      Left            =   1560
      TabIndex        =   4
      Top             =   240
      Width           =   1095
   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 intMinutes As Integer
Dim intHours As Integer
Private Sub Command1_Click()
If intHours = 12 Then
   intHours = 1
Else
   intHours = intHours + 1
End If
Text1.Text = intHours
End Sub

Private Sub Command2_Click()
If intMinutes = 59 Then
   intMinutes = 1
Else
   intMinutes = intMinutes + 1
End If
Text2.Text = intMinutes
End Sub


