double workHeight = SystemParameters.PrimaryScreenHeight;
double workWidth = SystemParameters.PrimaryScreenWidth;
WinForm 获取屏幕大小
int iActulaWidth = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width;
int iActulaHeight = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height;
WinForm 获取主显示器工作区域大小
int ScreenHeight = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height;
int ScreenWidth = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width;
|
|
暂时没有评论
| 发表评论 - 不要忘了输入验证码哦! |
用户登陆
站点日历
站点统计
最新评论
获取屏幕大小 [ 日期:2021-03-01 ] [ 来自: