获取当前工作区宽度和高度(工作区不包含状态栏)
int ScreenWidth =
Screen.PrimaryScreen.WorkingArea.Width;
int ScreenHeight = Screen.PrimaryScreen.WorkingArea.Height;
winfrom 获取当前屏幕尺寸,布布扣,bubuko.com
时间: 2024-10-11 04:36:09
获取当前工作区宽度和高度(工作区不包含状态栏)
int ScreenWidth =
Screen.PrimaryScreen.WorkingArea.Width;
int ScreenHeight = Screen.PrimaryScreen.WorkingArea.Height;
winfrom 获取当前屏幕尺寸,布布扣,bubuko.com