①捕获屏幕的宽度int width = Screen.PrimaryScreen.Bounds.Width;②捕获屏幕的高度 int height = Screen.PrimaryScreen.Bounds.Height;