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")

Aureliano rivas

  • Upload
    saiauts

  • View
    37

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Aureliano rivas

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")

Page 2: Aureliano rivas

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

Label(resulT.caption) = "ISOSCELES"

End If

End Sub