为确保整齐地调整控件的大小,应实现停靠和锚定,还可能需要更新调整大小事件的事件处理程序代码。
To ensure that the control resizes neatly, you should implement docking and anchoring, and possibly any resize event-handler update code.
如果控件未锚定而窗体的大小被调整,则该控件相对于窗体边缘的位置将发生变化。
If a control is not anchored and the form is resized, the position of the control relative to the edges of the form is changed.
如果控件未锚定而窗体的大小被调整,则该控件相对于窗体边缘的位置将发生变化。
If a control is not anchored and the form is resized, the position of the control relative to the edges of the form is changed.
应用推荐