Screen sc = Screen.PrimaryScreen;
int a = sc.Bounds.Width;
int b = sc.Bounds.Height;
MessageBox.Show(a.ToString() + " " + b.ToString());C#获取屏幕尺寸
最新推荐文章于 2026-04-07 00:01:54 发布
Screen sc = Screen.PrimaryScreen;
int a = sc.Bounds.Width;
int b = sc.Bounds.Height;
MessageBox.Show(a.ToString() + " " + b.ToString());
2280
1万+
3063

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