现在的位置: 首页 > 综合 > 正文

C#Winform获取屏幕大小

2012年03月22日 ⁄ 综合 ⁄ 共 107字 ⁄ 字号 评论关闭
Rectangle rect = Screen.GetWorkingArea(this);
Point p = new Point(rect.Width,rect.Height);
this.Location = p;

抱歉!评论已关闭.