Federico landinez

2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Val(TextBox1.tex) <> Val(TextBox2.tex) <> Val(TextBox3.tex) Then Label(result.caption) = "ESCALENO") End If If Val(TextBox1.tex) = Val(TextBox2.tex) And Val(TextBox3.tex) Then Label(result.caption) = "EQUILATERO") End If

Transcript of Federico landinez

Page 1: Federico landinez

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

If Val(TextBox1.tex) <> Val(TextBox2.tex) <> Val(TextBox3.tex) Then

Label(result.caption) = "ESCALENO")

End If

If Val(TextBox1.tex) = Val(TextBox2.tex) And Val(TextBox3.tex) Then

Label(result.caption) = "EQUILATERO")

End If

If Val(TextBox1.tex) <> Val(TextBox2.tex) And (Val(TextBox2.tex) = Val(TextBox3.tex)) And Val(TextBox3.tex) <> val (textbox1.Text))Then

Page 2: Federico landinez

Label(resulT.caption) = "ISOSCELES"

End If

End Sub