获取屏幕的宽度和高度
Rectangle rect=System.Windows.Forms.SystemInformation.VirtualScreen; int width=rect.Width; int height=rect.Height;
本文将介绍如何使用C#获取屏幕的宽度和高度,通过实例代码演示了使用System.Windows.Forms.SystemInformation.VirtualScreen来获取屏幕尺寸的方法。
获取屏幕的宽度和高度
Rectangle rect=System.Windows.Forms.SystemInformation.VirtualScreen; int width=rect.Width; int height=rect.Height;

被折叠的 条评论
为什么被折叠?