triangle in a PictureBox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kostas
    New Member
    • May 2007
    • 1

    triangle in a PictureBox

    How can i give, in 3 TextBoxes the length of each side of a triangle and then see that triangle in the PictureBox? Iwant everytime which i give diferrent values in the TextBoxes to see another triangle, with the name of each angle, i mean A, B and C.
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by kostas
    How can i give, in 3 TextBoxes the length of each side of a triangle and then see that triangle in the PictureBox? Iwant everytime which i give diferrent values in the TextBoxes to see another triangle, with the name of each angle, i mean A, B and C.
    Hiya, kostas!

    Would you like to include you version of VB?

    I think I have something here in VB 2005 that should do the trick. Also, if you ahve pre-written code, you can add it here for all to see, get an idea what is happening.

    Hopefully this is not late in coming...

    In a bit!

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      If this is a right-angle triangle, it would be very simple to just draw two of the sides horizontal and vertical, then join them up. If not, then it's probably not too hard, but will be slightly more involved.

      Comment

      Working...