C#窗体起始位置设置

xiaoxiao2025-05-14  34

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);
转载请注明原文地址: https://www.6miu.com/read-5030115.html

最新回复(0)