获取屏幕分辨率

System.Windows.Forms.Screen screen = Screen.PrimaryScreen;
System.Drawing.Rectangle rct
= screen.Bounds;
// rct.Height; rct.Width; 即是屏幕的高和宽
posted @ 2011-04-23 12:06  清风行云  阅读(333)  评论(0编辑  收藏  举报