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;
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! | |||
作者: | 用户:
密码: 注册? 验证: |
||
评论:
禁止表情 禁止UBB 禁止图片 识别链接 识别关键字 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||