Bad UI design idea, really. Anyway, what's the problem? Finding the current location just below the button? Or setting the form location? Whatever your problem is, the question is even worse.
You can find location of the button by using, not to much of surprise, the properties
Top
and
Left
. Don't forget to add
Button.Height
to its
Top
, to get the vertical coordinate just below the button.
Then you need to transform it to screen coordinates:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.pointtoscreen(v=vs.110).aspx[
^].
And, to set the location of the form, use the same two properties,
Top
and
Left
.
—SA