Hi...
As im new to .Net .. I just wanted to know if their is any "event or method" in C#.net to find the DISTANCE between the two Points....

Say for example:" I have two points on a web form and i need to find its distance by Dragging the MOUSE BUTTON from one Point to the Other Point..."

Please let me know how.??:(

Regards ,

Sandeep.

Recommended Answers

All 2 Replies

Pythagoras' theorum, unless you are using XNA

capture point 1, and point 2, and using pythagoras, work out the length of the other side.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.