winfrom 获取当前屏幕尺寸

it2022-05-09  39

获取当前工作区宽度和高度(工作区不包含状态栏)

            int ScreenWidth = Screen.PrimaryScreen.WorkingArea.Width;

            int ScreenHeight = Screen.PrimaryScreen.WorkingArea.Height;

转载于:https://www.cnblogs.com/zhaoqiangxiaoxiao/p/3759542.html

相关资源:数据结构—成绩单生成器

最新回复(0)