winfrom 获取当前屏幕尺寸

时间:2014-06-03 14:08:24   收藏:0   阅读:363

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

            int ScreenWidth = Screen.PrimaryScreen.WorkingArea.Width;

            int ScreenHeight = Screen.PrimaryScreen.WorkingArea.Height;

winfrom 获取当前屏幕尺寸,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!