VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "MathTestClient"
   ClientHeight    =   1695
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4095
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   ScaleHeight     =   1695
   ScaleWidth      =   4095
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdCalculate 
      Caption         =   "Calculate"
      Height          =   375
      Left            =   480
      TabIndex        =   3
      Top             =   720
      Width           =   1215
   End
   Begin VB.TextBox txtB 
      Height          =   285
      Left            =   2280
      TabIndex        =   1
      Top             =   240
      Width           =   1215
   End
   Begin VB.TextBox txtA 
      Height          =   285
      Left            =   480
      TabIndex        =   0
      Top             =   240
      Width           =   1215
   End
   Begin VB.Label lblResult 
      Height          =   255
      Left            =   2280
      TabIndex        =   4
      Top             =   840
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "+"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   1920
      TabIndex        =   2
      Top             =   240
      Width           =   135
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCalculate_Click()

        If IsNumeric(txtA.Text) And IsNumeric(txtB.Text) Then
            Dim objMath As New Math.clsMath
'            Dim objMath
'            Set objMath = CreateObject("Math.clsMath")
            lblResult.Caption = objMath.Sum(txtA.Text, txtB.Text)
            Set objMath = Nothing
        Else
            MsgBox ("You must provide a number in each box")
        End If

End Sub

