Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何调整无边框表单的大小?
您也应该在更改宽度和更改高度的同时更改左值。
例如,如果您增加表单大小;
this.Left -= (changeWidth / 2); this.Width += (changeWidth/ 2);
和
this.Top -= (changeHeight / 2); this.Height += (changeHeight/ 2);