C#中如何获得屏幕的宽高

1 System.Windows.Forms.Screen.GetWorkingArea(this);
2             int width = ScreenArea.Width;//屏幕宽度
3             int height = ScreenArea.Height;//屏幕高度
4             this.Location = new System.Drawing.Point(width - this.Width, height - this.Height);//指定窗体显示在右下角
View Code
原文地址:https://www.cnblogs.com/fanjianzhi/p/12911935.html