Click here to Skip to main content
15,917,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone. I want to move a button up and down inside the form borders.Even though the form size is changed, it still stop on the borders.My questions in details are:

(1) how to move a button to the border(up or bottom) of the form?

(2) after that, how to make the button stay in the same location even though the form size has been changed bigger or smaller.

I want the code in C#. Do you have any ideas? Any help is appreciated.Thanks.
Posted
Updated 10-Jun-10 16:47pm
v2

1 solution

You can Dock the button at desired edge.

For more details on docking use google.
 
Share this answer
 
Comments
shujsj2010 10-Jun-10 23:42pm    
Ok, thank you. I will have a try.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900