private void PointXY() { Point sp = new Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); this.Left = 20; this.Top = (sp.Y - this.Height) / 2; }
设置属性
shuaimeng 2018-12-12 12:55 原文
private void PointXY() { Point sp = new Point(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); this.Left = 20; this.Top = (sp.Y - this.Height) / 2; }
设置属性