C#Winform获取屏幕大小时间:2023-03-10 06:35:08 两种方法: 1. Rectangle rect = Screen.GetWorkingArea(this);int width = rect.Width;int height = rect.Height; 2. Rectangle rect = System.Windows.Forms.SystemInformation.VirtualScreen; int width = rect.Width;int height = rect.Height;