winfrom 获取当前屏幕尺寸

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

            int ScreenWidth = Screen.PrimaryScreen.WorkingArea.Width;

            int ScreenHeight = Screen.PrimaryScreen.WorkingArea.Height;

posted @ 2014-05-29 17:00  小小戒  阅读(316)  评论(0编辑  收藏  举报