you can do this by using javascript
for this refere w3cschools.com
in that javascript
the button has a property Location which return point data type, all what you have to do is to change the location to the new one by giving the new location as follow button1.location = new point(int x, int y);