首页 > 编程 > C# > 正文

在C#程序中取得电脑屏幕的分辨率

2023-05-18 12:33:08
字体:
来源:转载
供稿:网友

如果你想在C#程序中获取你的电脑屏幕的分辨率,可通过下面的代码来实现。

System.Windows.Forms.Screen.PrimaryScreen.Bounds;

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表