本文介绍了将一个按钮移到窗体的边框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我想在表单边框内上下移动按钮.即使更改了表单大小,它仍然停在边框上.我的详细问题是:

(1)如何将按钮移至表格的边框(上或下)?

(2)之后,即使表格大小已更改为更大或更小,如何也使按钮保持在同一位置.

我想要C#.中的代码,您有什么想法吗?谢谢.

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.

推荐答案


这篇关于将一个按钮移到窗体的边框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 04:57