Last active
April 3, 2019 07:40
-
-
Save jasongorman/9e14c473d8d881bcd42c7d3784f39106 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub btnQuote_Click() | |
Dim quote As New CarpetQuote | |
Dim room As New Room | |
Dim carpet As New Carpet | |
room.Width = CDbl(txtWidth.Text) | |
room.Length = CDbl(txtLength.Text) | |
carpet.PricePerSqMtr = CDbl(txtPricePerSqMtr.Text) | |
carpet.RoundUp = chkRoundUp.value | |
lblPrice.Caption = "£" & quote.quote(room, carpet) | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment