您的位置:首页 > 其它

获取屏幕大小 或任务栏大小 或 工作域大小

2015-03-11 15:04 357 查看
当前的屏幕除任务栏外的工作域大小

SystemInformation.WorkingArea.Width ,SystemInformation.WorkingArea.Height

//当前的屏幕包括任务栏的工作域大小

System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width

System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height

任务栏大小= 屏幕大小-工作区域大小
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: