How to wear Form Controls not move magnification in c #
I put a picture in the ba开发者_如何学Gockground of the form, and applied Control s and Cshmgdilim the window to maxsize all Control s step aside even though everything is set to center. How can I lock the Control s on the form did not move at a magnification? Thanks
Not exactly sure what you're asking but I think you want to keep a control in the center of the form even when the form is resized. To do this at design time, just use the anchor property and choose all 4 sides
http://www.techrepublic.com/article/manage-winform-controls-using-the-anchor-and-dock-properties/6165908
If you want the control to resize to scale with the window, then use the docking property.
精彩评论