>how do i get the coordinates of the button in the form?
Use Location Property of button control.
>how do i get the coordinates of starting and endpoints of the line?
Handles MouseDown, MouseMove, and MouseUp events of a Form control.
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
Offline 6,527 posts
since Oct 2008