int x = (System.Windows.Forms.SystemInformation.WorkingArea.Width - this.Size.Width *2) ;
int y = this.Size.Height/5 ;
this.StartPosition = FormStartPosition.Manual;
this.Location = (Point)new Size(x, y);
C#窗体起始位置设置
最新推荐文章于 2024-05-09 14:07:47 发布