C#窗体操作的小技巧

窗体在屏幕居中

this.SetBounds((Screen.GetBounds(this).Width / 2) - (this.Width / 2), (Screen.GetBounds(this).Height / 2) - (this.Height / 2), this.Width, this.Height, BoundsSpecified.Location);
原文地址:https://www.cnblogs.com/tinaluo/p/7505885.html