You are on page 1of 1

Public Class Form1

Dim Labor As Single


Dim Rent As Single
Dim Materials As Single
Dim Size As Single

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click
Size = TextBoxSize.Text
Labor = 0.75
Rent = 1.0
Materials = 0.05 * Size * Size
Label3.Text = Labor + Rent + Materials

End Sub
End Class

You might also like