Afternoon,
I'm currently working on a project and currently have a few issues with the peace of code i have written.
I Would like to know if anybody knows the issue with the sequence of code as i would like to learn from my mistakes.
Thanks in advance
Steff
I'm currently working on a project and currently have a few issues with the peace of code i have written.
Code:
Public Class Form1
Dim room, roomwithpaint As single
Dim bal As Double
Private Sub FlatButton1_Click(sender As Object, e As EventArgs) Handles FlatButton1.Click
room = textboxheight.Text * textboxwidth.Text
If luxury.Checked = True Then
roomwithpaint = room * "1.75"
ElseIf standard.Checked = True Then
roomwithpaint = room * "1.00"
ElseIf economy.Checked = True Then
roomwithpaint = room = "0.45"
End If
If undercoat.Checked = True Then
bal = "0.50" * roomwithpaint
End If
Label1.Text = bal
End Sub
End ClassThanks in advance
Steff