C# 中怎么实现按钮定位
我想把按钮放在最下面,可窗口最大化后就按钮就变成了中间了!怎么实现定位呢!
------解决方案--------------------this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
------解决方案--------------------this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));