home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form TimerForm
- Caption = "Timer Module Test Form"
- ClientHeight = 2550
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 4845
- LinkTopic = "Form1"
- ScaleHeight = 2550
- ScaleWidth = 4845
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command3
- Caption = "E X I T"
- BeginProperty Font
- Name = "Verdana"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 2760
- TabIndex = 2
- Top = 1320
- Width = 1935
- End
- Begin VB.CommandButton Command2
- Caption = "Show Interval"
- BeginProperty Font
- Name = "Verdana"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 240
- TabIndex = 1
- Top = 1320
- Width = 1935
- End
- Begin VB.CommandButton Command1
- Caption = "Start Timing"
- BeginProperty Font
- Name = "Verdana"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 240
- TabIndex = 0
- Top = 360
- Width = 1935
- End
- Attribute VB_Name = "TimerForm"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- If Command1.Caption = "Start Timing" Then
- StartCounting
- Command1.Caption = "Stop Timing"
- Else
- StopCounting
- Command1.Caption = "Start Timing"
- End If
- End Sub
- Private Sub Command2_Click()
- MsgBox "I've been counting for " & vbCrLf & _
- Hour(TotalInterval) & " hours" & vbCrLf & _
- Minute(TotalInterval) & " minutes and " & vbCrLf & _
- Second(TotalInterval) & " seconds" & vbCrLf
- End Sub
- Private Sub Command3_Click()
- End
- End Sub
-