Screen sc = Screen.PrimaryScreen;
int a = sc.Bounds.Width;
int b = sc.Bounds.Height;
MessageBox.Show(a.ToString() + " " + b.ToString());C#获取屏幕尺寸
最新推荐文章于 2023-05-19 17:31:22 发布
Screen sc = Screen.PrimaryScreen;
int a = sc.Bounds.Width;
int b = sc.Bounds.Height;
MessageBox.Show(a.ToString() + " " + b.ToString());
1万+
2800

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